select ( "select id,image from pictures where id IN(" . $_POST ['deleted_pdts'] . ")" ); while ( $row = $db->get_row ( $r, 'MYSQL_BOTH' ) ) { unlink ( '../pictures/' . $row ['1'] ); $db->delete ( "delete from pictures where id=" . $row ['0'] ); } //$db->print_last_query(); header ( "location:pictures.php?page=$_GET[page]" ); exit (); } $limit = (! empty ( $_GET ['p'] )) ? $_GET ['p'] : '0,10'; ?> "; if ($_SESSION ['position'] == "Admin") echo ""; if ($_SESSION ['position'] == "Marketing") echo ""; if ($_SESSION ['position'] == "H.R.") echo ""; ?> <?=$_GET ['page']?>


');">Add New  |  Delete | 
select ( "select * from pictures where type='" . $_GET ['page'] . "' order by id desc LIMIT $limit" ); $numOfRows = $db->select_one ( "Select count(*) from pictures where type=" . $_GET ['page'] ); //$db->print_last_query(); while ( $row = $db->get_row ( $res, 'MYSQL_BOTH' ) ) { $p = $row ['0']; $page = $_GET ['page']; ?>
Image Description
' type='checkbox' value=''> "; else echo ""; ?>
select_one("Select count(*) From products where (id_type=".$v[0].") and (id_plus not in (1,4,5,6,7,8,9,10,11,12,13,15))"); if ($numOfRows > 10) { $pages = floor ( $numOfRows / 10 ); //echo '
'; $change = $numOfRows % 10; //echo '
'; $j = 1; for($i = 0; $i < $pages * 10; $i += 10) { $to = $i + 10; /*echo '
'; echo $i; echo '
';*/ $l = $i . ",10"; // $s=$v['0']."/".$l; ?> 0) { $l = $i . "," . $change; ?>