Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
<div class="content"><br /> <? $page=get_param("cat"); $list=get_param("list"); $q="SELECT * from site_gallery_catalog where id=".$list." LIMIT 1"; // echo $q; $res=mysql_query($q,$db); $r=mysql_fetch_array($res); $link="<p>Вы находитесь: "; $link.='<a href="catalog.html">Каталог</a>'; $link.=' -> <a href="catalog-'.$page.'.html">'.$cat[$page-1][1].'</a> -> '; $link.='<a href="javascript:void(0)">'.$r['zag'].'</a>'; $link.="</p>"; echo $link; ?> <p class="header"><?=$r['zag'];?></p> <?=$r['full'];?> <div style="display:block"> <? $q="SELECT * from site_gallery_products where flag=1 and catalogID=".$list." order by prior"; // echo $q; $res=mysql_query($q,$db); $i=0; while ($r=mysql_fetch_array($res)) { $i++; ?> <script src="fancybox/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="fancybox/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script> <script src="fancybox/jquery.fancybox.min.js"></script> <link rel="stylesheet" href="fancybox/jquery.fancybox.css" media="screen" /> <a data-fancybox="gallery" href="files/gallery_products/full=$r['file'];?>title="<?=$r['stext'];?>"> <img src="files/gallery_products/sm<?=$r['file'];?>"></a> <? } ?> </div> </div>
<a data-fancybox="gallery" href="files/gallery_products/full=<?=$r['file'];?>" title="<?=$r['stext'];?>">
<a data-fancybox="gallery" href="files/gallery_products/full=<?=$r['file'];?>" title="<?=$r['stext'];?>"><img src="files/gallery_products/sm<?=$r['file'];?>"></a>
<script src="fancybox/jquery-3.3.1.min.js"></script>
</div>
<script type="text/javascript" src="fancybox/jquery-3.3.1.min.js"></script> <script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.4.pack.js"></script> <script src="fancybox/jquery.fancybox.min.js"></script> <link rel="stylesheet" href="fancybox/jquery.fancybox.css" media="screen" />
<a data-fancybox="gallery<?=$i;?>" href="files/gallery_products/full<?=$r['file'];?>" title="<?=$r['stext'];?>"> <img align="left" class="gimage" src="files/gallery_products/sm<?=$r['file'];?>" alt="<?=$r['zag'];?>" /> </a>