Adding php to template? - 03/31/2004 8:42 PM
Is there a way to comment out a portion of the UBBTPRINT stuff so that I can drop a quick PHP query into a template, or would have to edit the php script itself?
Basically I want to add something:
<!-- <? //UBBTREMARK -->
<!-- echo <<<UBBTPRINT -->
$tbopen
<tr>
<td class="tdheader">
{$ubbt_lang['PROF_FOR']} $profileuser
</td>
</tr>
$tbclose
$tbopen
<tr>
<td class="lighttable"><table border="0" width="100%" class="lighttable" cellpadding="0">
<tr>
<td width="10%" class="darktable">
{$ubbt_lang['TEXT_EMAIL']}
</td>
<td width="40%">
<a href="mailto:$Fakeemail">$Fakeemail</a>
</td>
<td align="right" valign="top" rowspan="12">
<img src="$Picture" alt="Picture" width="$width" height="$height" />
RIGHT HERE...but it would involve a query
</td>
</tr>
<tr>
<td class="darktable">
{$ubbt_lang['MEMBER_ID']}
</td>
<td>
$User
Basically I want to add something:
<!-- <? //UBBTREMARK -->
<!-- echo <<<UBBTPRINT -->
$tbopen
<tr>
<td class="tdheader">
{$ubbt_lang['PROF_FOR']} $profileuser
</td>
</tr>
$tbclose
$tbopen
<tr>
<td class="lighttable"><table border="0" width="100%" class="lighttable" cellpadding="0">
<tr>
<td width="10%" class="darktable">
{$ubbt_lang['TEXT_EMAIL']}
</td>
<td width="40%">
<a href="mailto:$Fakeemail">$Fakeemail</a>
</td>
<td align="right" valign="top" rowspan="12">
<img src="$Picture" alt="Picture" width="$width" height="$height" />
RIGHT HERE...but it would involve a query
</td>
</tr>
<tr>
<td class="darktable">
{$ubbt_lang['MEMBER_ID']}
</td>
<td>
$User