Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: pask foto

Parašė TaduXxX0· 2008 Lie. 9 16:07:46
#1

 
      openside ("Pastikutinios Nuotraukos");

   
      $result = dbquery("SELECT panel_name FROM ".$db_prefix."panels WHERE panel_filename = 'latest_images_panel'");
   
      if (dbrows($result) != 0) {
 
      $data = dbarray($result);
   
      $panel_name = $userdata['panel_name'];
   
      }
 
      $result = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 5");

      echo "";
 
      if (dbrows($result) != 0) {
 
      while($userdata = dbarray($result)) {

      echo "<center>

      <a href='".BASEDIR."photogallery.php?photo_id=".$userdata['photo_id']."' title='".$userdata['photo_title']."'class='gallery'>
 
      <img src='".BASEDIR."images/photoalbum/"."/".$userdata['photo_thumb1']."' border='0'></a><center>";

      }

      }
 
      closeside ();





neveikia...matau kur klaida,bet kaip ja istaisyti? images/photoalbum/ ir po cia turi eit albumas,o cia padetas tik /...


Gal kas turi veikiancia pask foto scripta?

Redagavo TaduXxX0· 2008 Lie. 9 16:07:29