vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   PHP code help (https://vborg.vbsupport.ru/showthread.php?t=108250)

Darkfire122333 02-17-2006 07:43 PM

PHP code help
 
hey, i know this is kinda a stupid question.. but how can i do this:

insert code:
Code:

$richmem
and it produces:
Code:

<if condition="$show['richestmostsold']">
<br /><table cellpadding="0" cellspacing="1" border="0" width="100%" align="center">
<tr>
        <td align="left" width="48%" valign="top">
                <table class="tborder" cellpadding="4" cellspacing="1" border="0" width="100%">
                <tr align="center">
                        <td class="tcat"><span class="smallfont"><strong><a href="estore.php?$session[sessionurl]do=richestusers">$vbphrase[estore_richest_members]</a></strong></span></td>
                </tr>
                <tr>
                        <td class="alt1">
                                <span class="smallfont">$toptenrichest</span>
                        </td>
                </tr>
                </table>
        </td>
        <td>&nbsp; &nbsp;</td>
        <td width="48%" valign="top">
                <table class="tborder" cellpadding="4" cellspacing="1" border="0" width="100%">
                <tr align="center">
                        <td class="tcat"><span class="smallfont"><strong><a href="estore.php?$session[sessionurl]do=mostsold">$vbphrase[estore_most_sold]</a></strong></span></td>
                </tr>
                <tr>
                        <td class="alt1">
                                <span class="smallfont">$topsolditems</span>
                        </td>
                </tr>
                </table>
        </td>
</tr>
</table>
</if>

i am working on estore and i want toedit the homepage for it and i want to move some of the commands over to the usercp and in the profile... is this the proper way to do this? if not.. can anyone help me do this kind of thing? it would be highly appreciated...


All times are GMT. The time now is 01:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00902 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete