44
« on: November 01, 2006, 05:04:08 PM »
i am thrying to put the voting poll under random image and its not working it worked on the home.html but its not workin on other can anyone help me wid da code please
this is my code for the vottin poll
<tr><td class="row2"><p align="center">{opci_encuestas}</td></tr>
and this is my details.html
{header}
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="15">
<tr>
<td rowspan="1" colspan="1" width="70" height="15">
<img name="top0" src="{template_url}/images/top_1x1.gif" width="15" height="15" border="0" /></td>
<td rowspan="1" colspan="1" width="100%" height="15" class="tablehead">
<img name="top1" src="{template_url}/images/top_1x2.gif" width="710" height="15" border="0" /></td>
<td rowspan="1" colspan="1" width="71" height="15">
<img name="top2" src="{template_url}/images/top_1x3.gif" width="15" height="15" border="0" /></td>
</tr>
</table>
</td>
</tr>
<tr class="tablehead">
<td width="6"><img src="{template_url}/images/side.gif" width="6" height="60" alt="" /></td>
<td width="505"><a href="/"><img src="{template_url}/images/banner.gif" width="505" height="60" alt="" /></a></td>
<td width="225" align="right">
<form method="post" action="{url_search}">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td>
<input type="text" name="search_keywords" size="15" class="searchinput" />
</td>
<td>
<input type="submit" value="{lang_search}" class="button" name="submit" />
</td>
</tr>
<tr valign="top">
<td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
</tr>
</table>
</form>
</td>
<td align="right" width="6"><img src="{template_url}/images/side.gif" width="15" height="60" alt="" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="bordercolor">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="tablebgcolor">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td class="nav" height="25" background="{template_url}/images/nav.gif">{clickstream}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="cat">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="cat">
{user_box}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" class="cat" valign="top">
<table cellspacing="0" cellpadding="0" border="0" width="150">
<tr valign="top">
<td align="right"><img src="{template_url}/images/lt.gif" alt="" width="15" height="15" border="0" /></td>
<td class="td">:SubMenu:</td>
<td><img src="{template_url}/images/rt.gif" alt="" width="15" height="15" border="0" /></td>
</tr>
<tr>
<td class="td"> </td>
<td class="td"><table width="120" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<a href="{url_top_images}"><b>{lang_top_images}</b></a>
</td>
</tr>
<tr>
<td>
<a href="{url_new_images}"><b>{lang_new_images}</b></a><br />
</td>
</tr>
<tr>
<td>
<a href="/?template=tos"><b>Terms of Service</b></a><br />
</td>
</tr>
<tr>
<td>
<a href="/?template=about"><b>About page</b></a><br />
</td>
</tr>
<tr>
<td>
<a href="/contact.php"><b>Report Abuse</b></a><br />
</td>
</tr>
</table>
</td>
<td class="td"> </td>
</tr>
<tr>
<td align="right"><img src="{template_url}/images/lb.gif" alt="" width="15" height="15" border="0" /></td>
<td class="td"> </td>
<td><img src="{template_url}/images/rb.gif" alt="" width="15" height="15" border="0" /></td>
</tr>
</table>
<br />
{if random_image}
<table cellspacing="0" cellpadding="0" border="0" width="150">
<tr valign="top">
<td align="right"><img src="{template_url}/images/lt.gif" alt="" width="15" height="15" border="0" /></td>
<td class="td">:Random image:</td>
<td><img src="{template_url}/images/rt.gif" alt="" width="15" height="15" border="0" /></td>
</tr>
<tr>
<td class="td"> </td>
<td class="td">
<table width="120" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="td"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<tr>
<td align="center" class="td">
<br />
{random_image}
<br />
<br />
</td>
</tr>
<tr>
<td class="td"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
</table>
</td>
<td class="td"> </td>
</tr>
<tr>
<td align="right"><img src="{template_url}/images/lb.gif" alt="" width="15" height="15" border="0" /></td>
<td class="td"> </td>
<td><img src="{template_url}/images/rb.gif" alt="" width="15" height="15" border="0" /></td>
</tr>
</table>
{endif random_image}
</td>
<td width="1" valign="top" class="cat"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
<td width="18" valign="top" class="cat"><img src="{template_url}/images/spacer.gif" alt="" width="18" height="18" /></td>
<td width="100%" valign="top" class="cat">
<b class="title">{image_name}</b>{if image_is_new} <sup class="new">{lang_new}</sup>{endif image_is_new}
{if msg}<b>{msg}<br /><br /></b>{endif msg}
<p align="center">{image}</p>
<div align="center">
{if google_id}
<embed style="width:400px; height:326px; "id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId={google_id}" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" salign="TL" FlashVars="playerMode=embedded"> </embed>
{endif google_id}
{if youtube_id}
<object width="476" height="392"><param name="movie" value="http://www.youtube.com/v/{youtube_id}"></param><embed src="http://www.youtube.com/v/{youtube_id}" type="application/x-shockwave-flash" width="476" height="392" ></embed></object>
</div>
<div align="center">
</div>
<div align="center">
{endif youtube_id}
{if admin_links}<br />{admin_links}<br />{endif admin_links}
<br />{lightbox_button} {postcard_button} {download_button} {download_zip_button}
</div>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="head">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="head" valign="top" colspan="2" background="{template_url}/images/nav.gif">{image_name}</td>
</tr>
<tr>
<td valign="top" class="cat1"><b>{lang_description}</b></td>
<td valign="top" class="cat1">{image_description}</td>
</tr>
<tr>
<td valign="top" class="cat2"><b>{lang_keywords}</b></td>
<td valign="top" class="cat2">{image_keywords}</td>
</tr>
<tr>
<td valign="top" class="cat1"><b>{lang_date}</b></td>
<td valign="top" class="cat1">{image_date}</td>
</tr>
<tr>
<td valign="top" class="cat2"><b>{lang_hits}</b></td>
<td valign="top" class="cat2">{image_hits}</td>
</tr>
<tr>
<td valign="top" class="cat1"><b>{lang_downloads}</b></td>
<td valign="top" class="cat1">{image_downloads}</td>
</tr>
<tr>
<td valign="top" class="cat2"><b>{lang_rating}</b></td>
<td valign="top" class="cat2">{image_rating} ({image_votes} {lang_votes})</td>
</tr>
<tr>
<td valign="top" class="cat1"><b>{lang_file_size}</b></td>
<td valign="top" class="cat1">{image_file_size}</td>
</tr>
<tr>
<td valign="top" class="cat2"><b>{lang_added_by}</b></td>
<td valign="top" class="cat2">{user_name_link}</td>
</tr>
</table>
</td>
</tr>
</table>
{if iptc_info}
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td class="bordercolor">
<table width="100%" border="0" cellpadding="3" cellspacing="0">
<tr>
<td class="head" valign="top" colspan="2" background="{template_url}/images/nav.gif">IPTC Info</td>
</tr>
{iptc_info}
</table>
</td>
</tr>
</table>
{endif iptc_info}
{if rate_form}
<div align="center">{rate_form}</div>
{endif rate_form}
{if allow_comments}
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="head" valign="top">
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td valign="top" class="head" background="{template_url}/images/nav.gif">{lang_author}</td>
<td valign="top" class="head" background="{template_url}/images/nav.gif">{lang_comment}</td>
</tr>
{comments}
</table>
</td>
</tr>
</table>
<br />
{comment_form}
{endif allow_comments}
<br />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr valign="top">
<td class="row2">
{if prev_image_name}{lang_prev_image}<br />
<b><a href="{prev_image_url}">{prev_image_name}</a></b>
<br /><br /><a href="{prev_image_url}"><img src="{prev_thumb_file}" border="1"></a>
{endif prev_image_name} </td>
<td align="right" class="row2">
{if next_image_name}{lang_next_image}<br />
<b><a href="{next_image_url}">{next_image_name}</a></b>
<br /><br /><a href="{next_image_url}"><img src="{next_thumb_file}" border="1"></a>
{endif next_image_name}</td>
</tr>
</table>
</td>
</tr>
</table>
<p> </p>
</td>
<td width="20" valign="top"><img src="{template_url}/images/spacer.gif" width="19" height="19" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
<tr>
<td width="15"><img src="{template_url}/images/bl.gif" width="15" height="15" alt="" /></td>
<td width="100%"> </td>
<td width="100%"> </td>
<td width="15"><img src="{template_url}/images/br.gif" width="15" height="15" alt="" /></td>
</tr>
</table>
</td>
</tr>
</table>
{footer}