'' ORDER BY i_ordine ASC", GetSQLValueString($colname_rs_video, "int")); $rs_video = mysql_query($query_rs_video, $conn) or die(mysql_error()); $row_rs_video = mysql_fetch_assoc($rs_video); $totalRows_rs_video = mysql_num_rows($rs_video); $vars_rs_titolo = "-1"; if (isset($_GET['s'])) { $vars_rs_titolo = (get_magic_quotes_gpc()) ? $_GET['s'] : addslashes($_GET['s']); } mysql_select_db($database_conn, $conn); $query_rs_titolo = sprintf("SELECT sottocategorie.s_sottocategorie, categorie.c_categoria FROM sottocategorie Inner Join categorie ON sottocategorie.s_c_id = categorie.c_id WHERE sottocategorie.s_id = %s ORDER BY s_ordine ASC ", GetSQLValueString($vars_rs_titolo, "int")); $rs_titolo = mysql_query($query_rs_titolo, $conn) or die(mysql_error()); $row_rs_titolo = mysql_fetch_assoc($rs_titolo); $totalRows_rs_titolo = mysql_num_rows($rs_titolo); mysql_select_db($database_conn, $conn); $query_rs_news = "SELECT * FROM news ORDER BY n_ordine ASC"; $rs_news = mysql_query($query_rs_news, $conn) or die(mysql_error()); $row_rs_news = mysql_fetch_assoc($rs_news); $totalRows_rs_news = mysql_num_rows($rs_news); // Show Dynamic Thumbnail $objDynamicThumb1 = new tNG_DynamicThumbnail("", "KT_thumbnail1"); $objDynamicThumb1->setFolder("upl/"); $objDynamicThumb1->setRenameRule("{rs_gallery.i_file}"); $objDynamicThumb1->setResize(120, 120, true); $objDynamicThumb1->setWatermark(false); // Show Dynamic Thumbnail $objDynamicThumb3 = new tNG_DynamicThumbnail("", "KT_thumbnail3"); $objDynamicThumb3->setFolder("upl/"); $objDynamicThumb3->setRenameRule("{rs_gall2.i_file}"); $objDynamicThumb3->setResize(200, 0, true); $objDynamicThumb3->setWatermark(false); // Show Dynamic Thumbnail $objDynamicThumb2 = new tNG_DynamicThumbnail("", "KT_thumbnail2"); $objDynamicThumb2->setFolder("upl/"); $objDynamicThumb2->setRenameRule("{rs_gallery.i_file}"); $objDynamicThumb2->setResize(650, 550, true); $objDynamicThumb2->setWatermark(false); ?>