Author |
Message |
02/04/2009 22:22:51
|
HugATree
Beginner
Joined: 02/04/2009 18:20:33
Messages: 6
Offline
|
First let me say that this forem has really help me do what I wanted to do and I did not have to ask the questions. I just looked for others that asked the same questions.
My problem: While I was fixing my Guest Book the way I wanted it I did something to some code and I need the original. You can go here and see what it looks like which will help you understand what is wrong. http://mysorefigtree.com/guestbook/ You can see the guest's information is in the middle and I lost the dividers etc. here is the code that I think needs fixing.
<table border="0" cellspacing="1" cellpadding="5" align="middle" width="$VARS[width]" bgcolor="$VARS[tb_bg_color]">
<tr bgcolor="$VARS[tb_hdr_color]">
<td width="32%"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[FormName]</b></font></td>
<td width="68%"><font size="2" face="$VARS[font_face]" color="$VARS[tb_text]"><b>$LANG[BookMess7]</b></font></td>
</tr>
</table>
<!--Start Guestbook Entries -->
$TPL[GB_ENTRIES]
<!--End Guestbook Entries -->
<!--Start Bottom Navigation -->
<table width="$VARS[width]" border="0" cellspacing="0" cellpadding="2" align="center">
<tr valign="top">
<td class="font2"><img src="$GB_PG[base_url]/img/point2.gif" width="9" height="9">$TPL[GB_HTML_CODE] </td>
<td align="right" class="font2"> $TPL[GB_NAVIGATION]</td>
</tr>
</table>
</form>
<!--End Bottom Navigation -->
Thanks for your help in advance.
|
|
02/04/2009 23:34:57
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You need to edit entry.php
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
03/04/2009 01:14:07
|
HugATree
Beginner
Joined: 02/04/2009 18:20:33
Messages: 6
Offline
|
i did not do anything to edit.php and it was fine before i started to work on body.php. i did look at the code and do not see anything wrong. shows 32% for the name and 68% for the comment. here is the code. maybe u can see something i am missing.
<tr bgcolor="$bgcolor">
<td width="32%" valign="top">
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="font2" valign="top" width="8%"><b>$id)</b></td>
<td width="92%"> <img src="$GB_PG[base_url]/img/ip.gif" width="14" height="14" alt="$LANG[AltIP]"> <img src="$GB_PG[base_url]/img/browser.gif" width="16" height="16" alt="$row[browser]">
$URL
$ICQ
$AIM
</td>
</tr>
<tr>
<td colspan="2" class="font1"><b>$row[name]</b> $GENDER</td>
</tr>
<tr>
<td colspan="2" class="font1">$row[email2]</td>
</tr>
<tr>
<td colspan="2" class="font2">$LANG[FormLoc]:<br>$row[location]</td>
</tr>
</table>
</td>
<td width="68%" class="font1" valign="top">
<div align="left" class="font3"><img src="$GB_PG[base_url]/img/post.gif" width="9" height="9">$DATE $HOST
<a href="$GB_COMMENT"><img src="$GB_PG[base_url]/img/edit.gif" width="18" height="13" border="0" alt="$LANG[AltCom]"></a>
$EMAIL
</div>
<hr size="1"><div align="left">
$USER_PIC $MESSAGE
</div>
$COMMENT
</td>
</tr>
thanks again.
|
|
03/04/2009 01:23:16
|
HugATree
Beginner
Joined: 02/04/2009 18:20:33
Messages: 6
Offline
|
ok got it. in the body.php i had
</tr>
</table>
in the wrong place which took the entry out of the formatted table. thanks and keep up the great forum and job
|
|
|