| Server IP : 89.46.109.6 / Your IP : 216.73.217.116 Web Server : Apache System : Linux hlpi1ws-c284s07.ad.aruba.it 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : ID19067310 ( 19067310) PHP Version : 5.3.29 Disable Function : system,popen,dl,passthru,proc_open,shell_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /web/htdocs/www.edizacco.it/home/ |
Upload File : |
<?php
@session_start();
require_once('include/connect_db.php');
@require('include/templates.php');
require_once 'include/class.ycpager.php';
$_SESSION['page'] = "btn3";
$meta_title = TITLE;
$meta_keywords = KEYWORDS;
$meta_description = DESCRIPTION;
$meta_linksito = SERVER;
$meta_logo = LOGOSITO;
$share = SHARE;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/layout.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Gallery Fotografiche<?php echo" | $meta_title"; ?></title>
<meta name="Keywords" content="<?php echo"$meta_keywords"; ?>" />
<meta name="Description" content="<?php echo"$meta_description"; ?>" />
<meta name="author" content="Informatica Netizen"/>
<meta name="subject" content="<?php echo"$meta_title"; ?>" />
<meta name="Copyright" content="<?php echo"$meta_title"; ?>" />
<meta name="Revisit-After" content="15" />
<meta name="distribution" content="Global" />
<meta name="robots" content="index, follow" />
<meta name="robots" content="noodp" />
<meta property="og:title" content="<?php echo"$meta_title"; ?>"/>
<meta property="og:url" content="<?php echo"$meta_linksito"; ?>"/>
<meta property="og:image" content="<?php echo"$meta_logo"; ?>"/>
<meta property="og:site_name" content="<?php echo"$meta_title"; ?>"/>
<meta property="og:description" content="<?php echo"$meta_description"; ?>"/>
<link rel="shortcut icon" href="<?php echo"$meta_linksito"; ?>/favicon.ico" />
<link href="css/paginazione.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="css/master.css" rel="stylesheet" type="text/css" />
<!-- JQUERY -->
<script type="text/javascript" src="js/menu/jquery.min.js"></script>
<!-- NAV PRODOTTI -->
<script type="text/javascript" src="js/menu/ddaccordion.js"></script>
<script type="text/javascript">
ddaccordion.init({ headerclass: "expandable", contentclass: "categoryitems", revealtype: "click", mouseoverdelay: 200, collapseprev: true, defaultexpanded: [], onemustopen: false, animatedefault: true, persiststate: true, toggleclass: ["", "openheader"], togglehtml: ["prefix", "", ""], animatespeed: "fast",oninit:function(headers, expandedindices){ },onopenclose:function(header, index, state, isuseractivated){ } })
</script>
<!-- NEWSLETTER E FORM -->
<script type="text/javascript" src="js/form/form_control.js"></script>
<script type="text/javascript" src="js/form/input_focus.js"></script>
</head>
<body>
<!--[if lte IE 6]><script src="js/ie6/warning.js"></script><script>window.onload=function(){e("js/ie6/")}</script><![endif]-->
<?php echo"$share"; ?>
<!-- WRAPPER INIZIO -->
<div id="wrapper">
<!-- WRAPPER CONTENT INIZIO -->
<div id="wrapper_content">
<!-- LEFT INIZIO -->
<div id="left">
<!-- LEFT NAV INIZIO -->
<div id="left_nav">
<p><a href="home.php" title="Edizacco"><img src="images/edizacco_logo.jpg" alt="Edizacco" class="logo" /></a></p>
<!-- NAV PRODOTTI INIZIO -->
<p class="titolo">Generi</p>
<div class="arrowlistmenu"><?php select_menuprodotti(); ?></div>
<!-- NAV PRODOTTI FINE -->
</div>
<!-- LEFT NAV FINE -->
<!-- NEWSLETTER INIZIO -->
<div id="home_newsletter"><?php select_newsletter(); ?></div>
<!-- NEWSLETTER FINE -->
<!-- BANNER INIZIO -->
<div class="left_banner"><?php select_bannerleft(); ?></div>
<!-- BANNER FINE -->
</div>
<!-- LEFT FINE -->
<!-- RIGHT INIZIO -->
<div id="right">
<!-- HEADER INIZIO -->
<div id="header">
<div id="search"><?php select_search(); ?></div>
<!-- <div id="cart"><div class="left">Il mio carrello</div><div class="right"><?php /*?><?php echo mostraCarrello(); ?><?php */?></div</div>-->
</div>
<!-- HEADER FINE -->
<!-- NAV INIZIO -->
<div id="nav"><?php select_menu(); ?></div>
<!-- NAV FINE -->
<!-- CONTENUTO INIZIO -->
<div id="contenuto">
<!-- InstanceBeginEditable name="contenuto" -->
<script type="text/javascript">
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script>
<!-- SELECT INIZIO -->
<link rel="Stylesheet" href="js/select/themes/smoothness/jquery.ui.all.css" type="text/css" />
<link rel="Stylesheet" href="js/select/ui.selectmenu.css" type="text/css" />
<script type="text/javascript" src="js/select/jquery-1.4.2.js"></script>
<script type="text/javascript" src="js/select/jquery-ui-1.8.custom.js"></script>
<script type="text/javascript" src="js/select/ui.selectmenu.js"></script>
<script type="text/javascript">$(document).ready(function(){ $("select#selectcat").selectmenu({ style:'dropdown', width:150 }); });</script>
<script type="text/javascript">$(document).ready(function(){ $("select#selectpages").selectmenu({ style:'dropdown', width:60 }); });</script>
<!-- SELECT FINE -->
<h1>Gallery Fotografiche</h1>
<?php
$prefix = PREFIX;
$directory = GALLERYDIRECTORY;
$pg = $_REQUEST['pg'];
echo'
<ul id="navpages">
<li style="float:right">
<form name="navform_right" class="navform_right" >
<label class="label">Visualizza per pagina: </label>
<div class="select">
<select name="p" id="selectpages" onchange="MM_jumpMenu(\'parent\',this,0)">
<option value="gallery.php?pg=15" ';if($pg=='15'){echo' selected="selected"';}else{echo'';} echo' >15</option>
<option value="gallery.php?pg=30" ';if($pg=='30'){echo' selected="selected"';}else{echo'';} echo' >30</option>
<option value="gallery.php?pg=90" ';if($pg=='90'){echo' selected="selected"';}else{echo'';} echo' >90</option>
<option value="gallery.php?pg=120" ';if($pg=='120'){echo' selected="selected"';}else{echo'';} echo' >120</option>
</select>
</div>
</form>
</li>
</ul>
';
$total = mysql_query( "SELECT id_categoria FROM ".$prefix."_gallery_categoria WHERE stato = '1' ");
$numero_notizie = mysql_num_rows( $total );
if( $numero_notizie > 0 ) {
$limite = $pg;
$p = !empty($_GET['p']) ? $_GET['p'] : 1;
$redirect_to = 'gallery.php?pg='.$pg.'&';
$pager = new YCPager( $p, $numero_notizie, $limite, $redirect_to );
$offset = $pager->getQueryOffset();
echo'<ul id="gallery_list">';
$notizie = mysql_query( "SELECT * FROM ".$prefix."_gallery_categoria WHERE stato = '1' ORDER BY ordering ASC LIMIT $limite OFFSET $offset ");
while( $row = mysql_fetch_assoc($notizie)) {
$id_categoria = $row['id_categoria'];
$album = stripslashes($row['album']);
$cover = stripslashes($row['cover']);
if($cover != ""){ $tag_immagine = ''.$directory.'/'.$cover.''; }else{ $tag_immagine = 'images/nd_news_page.jpg';}
$link_titolo = strtolower(cleanString($album));
echo'
<li>
<a href="gallery_foto.php?'.$link_titolo.'&id_categoria='.$id_categoria.'&pg='.$pg.'">
<span class="trumb"><p class="crop_trumb"><img src="'.$tag_immagine.'" alt="" /></p></span>
<p>'.$album.'</p>
</a>
</li>
';
}
echo'</ul>';
if ( $numero_notizie > $limite ) { $pager->getPager(); }else{ echo''; }
echo'
<div id="share_back" style="width: 690px; margin-bottom:10px; margin-top:10px;">
<p class="share">Condividi su:</p>
<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_sharing_toolbox"></div>
</div>
';
}else{ echo'<p>Attualmente non esistono foto!</p>'; }
?>
<!-- InstanceEndEditable -->
</div>
<!-- CONTENUTO FINE -->
</div>
<!-- RIGHT FINE -->
</div>
<!-- WRAPPER CONTENT FINE -->
<div class="push"></div>
</div>
<!-- WRAPPER FINE -->
<!-- WRAPPER FOOTER INIZIO -->
<div id="wrapper_footer"><?php select_footer(); ?></div>
<!-- WRAPPER FOOTER FINE -->
</body>
<!-- InstanceEnd --></html>