'.$success.''; } ?>
S.No.
Image
Caption
Comment
S.No.
Image
Caption
Comment
prefix."amg_caption"; if(empty($_GET['count'])) $_GET['count']=1; $total_images=count($photos); $up_to=($_GET['count']-1)*10; $p_keys=array_keys($photos); for($k=0;$k<$up_to;$k++) { unset($photos[$p_keys[$k]]); } $k=0; foreach($photos as $key => $photo){ if($k>9) { break; } $k++; $hash=$photo['hash']; $c_row = $wpdb->get_row("SELECT * FROM ".$c_t." WHERE photo_hash= '".$hash."'"); $comment = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM ".$wpdb->prefix."amg_comment WHERE photo_hash='".$hash."'")); ?>
url.".s3.amazonaws.com/".$photo['name']; ?>" width="100" height="100"/>
caption));?>
'; for($p=1;$p<=$total_pages;$p++) { if($p==$_GET['count']) $s='class="active"'; else $s=''; echo "
".$p."
"; } //end here echo "
"; ?>