Re: viewer link

their should be another

<?php if ($modo==2 || $modo==3) { // EL IF 2-3

near line 257

~ Sup?!

Thumbs up

Re: viewer link

sorry i copied wrong code here it is index down to line 263

<? if ($modo==2 || $modo==3) { // EL IF 2-3
    if (isset($v)) { 
        $quehace = TXT_SEEING;
        $namesun=$_GET['v'];
       $curtime=mktime(date("H"),date("i"),date("s"),date("m"),date("d"),date("Y"));
           mysql_query("update pics set lastviewed=$curtime, views=views+1 where uniqid='$namesun'")
           or die(mysql_error());
    } else {
        if ($red==1) {
            $retxt = ' '.TXT_AND_RESIZE;
        }
        $quehace = TXT_DID.$retxt;
    }
    $mensaje = $quehace.' <a href="'.PATH_SCRIPT.DIR_IM.$folhost.$name.'">'.$name.'</a> ('.$tamano_kb.' KB - '.$ancho.'x'.$alto.'px)'.$colita;

?>
<div id="subiste-viendo"><h1><?php echo $mensaje?></h1></div>

<div id="contenido">
    <div id="tools"><div id="fullsize"<? if ($ancho<=900) { echo ' style="display: none; "'; }?>><a href="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>" title="<?php echo $ancho?>x<?php echo $alto?>"><?php echo FULL_SIZE;?></a></div><div id="sharethis"><a id="sharing"><?php echo SHARE;?></a><a id="sharing-close" style="display: none;"><?php echo SHARE;?></a></div></div>
        <div id="imagen"><a rel="lightbox" href="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>"><img src="<?php echo PATH_SCRIPT.DIR_IM.$folhost.$name?>" alt="" <?php if ($ancho>=900) { echo 'width="900" '; } ?>/></a><br />
    </div>
    

Thumbs up

Re: viewer link

Here is your problem

           mysql_query("update pics set lastviewed=$curtime, views=views+1 where uniqid='$namesun'")
           or die(mysql_error());

The connection to the database of your admin panel is invalid. You are trying to make a query to an invalid database... it is sure that it won't work. You could simply remove this line and your chevereto will work. but the last view feature on your admin panel won't.

~ Sup?!

Thumbs up

Re: viewer link

Thankyou! , are you on msn?

Thumbs up

Re: viewer link

Danny.Domb wrote:

Open index.php

Find something similabuy microsoft office 2010r too ( Won't be the exact same)

<div id="top">
    <div id="logo">
      <a href="http://imglocker.net/"><img src="/site-img/logo.png" alt="IMGlocker" /></a>
    </div>
    <div id="limite">
      <div align="right">

        <p>JPG PNG BMP GIF <span>Max.2Mb</span></p>
        <p><a href="ReportPhoto.php">Report Image</a> | <span class="addons"><a href="AddonDownload.php">Add-Ons</a></span></p>
      </div>
    </div>
</div>

and answerProfessional Plus 2010 the topic with the next 10-20 lines


following the code found before.


<?php if ($modo==2 || $modo==3) {

Thumbs up