PEAK XOOPS - Re: Vote only first picture in englishin japanese

Re: Vote only first picture

List posts in the topic

question Re: Vote only first picture

msg# 1.1.1.1.1
depth:
4
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/13 19:47
slyss79  三等軍曹   Posts: 143
hi GIJOE and thanks for your reply...

i need to know uid in myalbum3_viewcat_table.html

this is my situation:

in myalbum3 i have some models
http://img95.imageshack.us/img95/8374/immagine1ew5.png

so, when you click (for examp) on Jennifer lopez you can see 3 items:

1) a button for vote jennifer (i made votation with last $lid in this page)
2) 4 photos of jennifer
3) a link to go at userinfo.php?uid=uid of submitter of this photos ... it mean userinfo of this model
http://img135.imageshack.us/img135/8186/immagine2wd2.png

i need to go back to know uid of the last $lid of this page...

i hope you understand my problem....

thans a lot GIJOE


if necessary you can see my myalbum3_viewcat_table.html here:

<{strip}>
<table width="100%" cellspacing="0" class="outer">
  <tr>
    <td class="even">
      <{include file="db:myalbum3_header.html"}>
      <table border='0' cellpadding='0' cellspacing='0' width='100%'>
        <tr>
          <td align='left'>
            <span style="font-weight:bold;"><a href='index.php'><{$lang_album_main}></a> : <{$album_sub_title}></span>
          </td>
          <td align='right'>
          <span style="font-weight:bold;"><a href='index.php'>Torna alla lista delle modelle</a></span>
          </td>
        </tr>
      </table>
      <{if count( $subcategories ) > 0 }>
        <hr />
        <{include file="db:myalbum3_categories.html"}>
      <{/if}>
    </td>
  </tr>
</table>
<br />

<{if $photo_small_sum < 1 }>
  <div align="center">
    <{$lang_nomatch}>
  </div>
<{else}>
  <table width="100%" cellspacing="0" class="outer">
    <tr>
      <td class="even" align="left">
        <{if $photo_small_sum > 1 }>
          <div align="center">
    <!--        <{$lang_sortby}>  
            <{$lang_title}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=titleA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=titleD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>) 
            <{$lang_date}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=dateA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=dateD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>) 
            <{if $canrateview }>
              <{$lang_rating}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=ratingA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=ratingD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>) 
            <{/if}>
            <{$lang_popularity}> (<a href="viewcat.php?cid=<{$category_id}>&orderby=hitsA"><img src="images/up.gif" border="0" align="middle" alt="" /></a><a href="viewcat.php?cid=<{$category_id}>&orderby=hitsD"><img src="images/down.gif" border="0" align="middle" alt="" /></a>)
            <br />
            <b><{$lang_cursortedby}></b>
            <br />
            <br />  -->
            <table border='0' cellpadding='0' cellspacing='0' width='100%'>
              <tr>
                <td align='center'><{foreach from=$photos item=photo}><{/foreach}>
                  <a href='<{$mod_url}>/ratephoto.php?lid=<{$photo.lid}>'><img src='http://www.stefanosnetwork.com/site/uploads/img44dd9e84594a0.gif' border='0'><br /><b><font color='red' size='4'><u>CLICCA QUI</u><br />PER VOTARE QUESTA MODELLA</b></font></a>
                </td>
                <td align='right'>
                  <{$photonav}>
                </td>
              </tr>
            </table>
          </div>
          <hr />
        <{/if}>
        <table width='100%' cellspacing='0' cellpadding='0' border='0'>
          <tr>
            <{foreach from=$photos item=photo}>
              <td align='center' style='margin:0px;padding:5px 0px;'>
                <a href='<{$mod_url}>/photo.php?lid=<{$photo.lid}>'><img src='<{$photo.imgsrc_thumb}>' <{$photo.width_spec}> alt='<{$photo.title}>' title='<{$photo.title}>' border='0' /></a>
              </td>
              <{if $photo.count is div by $colsoftableview }>
                </tr>
                <tr>
              <{/if}>
            <{/foreach}>

          </tr>
        </table>

        <{if $photo_small_sum > 1 }>
          <hr />
          <div align="center">
            <table border='0' cellpadding='0' cellspacing='0' width='100%'>
              <tr>
                <td align='center'><br /><span style="font-weight:bold;"><img src='http://www.stefanosnetwork.com/site/uploads/img44ddc1576426d.gif'><br />Altre notizie su questa modella?<br /><u>Clicca sulle foto</u> e potrai leggere tante altre info su di essa.</span><br /><br />
           <!--       <a href='<{$mod_url}>/ratephoto.php?lid=<{$photo.lid}>'><b><font color='red' size='4'><u>CLICCA QUI</u><br />PER VOTARE QUESTA MODELLA</b></font></a>  -->
                </td>
                <td align='right'>
                </td>
              </tr>
            </table>
          </div>
        <{/if}>
      </td>
    </tr>
  </table>
<{/if}>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td align="center">
      <br />
      <{include file='db:system_notification_select.html'}>
      <br />
      <{include file="db:myalbum3_footer.html"}>
    </td>
  </tr>
</table>
<{/strip}>
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!