Author Topic: Putting the votting poll under random image  (Read 7245 times)

0 Members and 1 Guest are viewing this topic.

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Putting the votting poll under random image
« 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

                   
Code: [Select]
<tr><td class="row2"><p align="center">{opci_encuestas}</td></tr>

and this is my details.html

Code: [Select]
{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">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td align="right"><img src="{template_url}/images/lb.gif" alt="" width="15" height="15" border="0" /></td>
    <td class="td">&nbsp;</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">&nbsp;</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">&nbsp;</td>
</tr>
<tr>
<td align="right"><img src="{template_url}/images/lb.gif" alt="" width="15" height="15" border="0" /></td>
    <td class="td">&nbsp;</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">
                  &nbsp;</div>
<div align="center">
{endif youtube_id}&nbsp;
    {if admin_links}<br />{admin_links}<br />{endif admin_links}
    <br />{lightbox_button}&nbsp;&nbsp;{postcard_button}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{download_button}&nbsp;&nbsp;{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}&nbsp;</td>
    <td align="right" class="row2">
      &nbsp;{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>&nbsp;</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%">&nbsp;</td>
          <td width="100%">&nbsp;</td>
          <td width="15"><img src="{template_url}/images/br.gif" width="15" height="15" alt="" /></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
{footer}

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Putting the votting poll under random image
« Reply #1 on: November 01, 2006, 05:13:49 PM »
Hi,

 :?: :?: :?:
What is:
Code: [Select]
{opci_encuestas}
In details your code is:

Code: [Select]
{rate_form}
Hmmm......
And i think, a voting under the random is not good.
No people open then the details view. :cry:


cu
Kurt

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: Putting the votting poll under random image
« Reply #2 on: November 01, 2006, 05:42:26 PM »
its not rate forum its voting poll it is this one http://www.4homepages.de/forum/index.php?topic=6859.0 can u help me put this on details.html

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: Putting the votting poll under random image
« Reply #3 on: November 01, 2006, 06:24:01 PM »
Hi,

sorry i dont now anythink about this mod :cry:

cu
Kurt

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: Putting the votting poll under random image
« Reply #4 on: November 01, 2006, 06:53:32 PM »
np lthanks a lot for your help ets see if someone else can help me on tihs

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Putting the votting poll under random image
« Reply #5 on: November 01, 2006, 09:56:28 PM »
@__G__,
pls post your question to the MOD thread, do not start new ones.
[closed]
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi