Красивые свадебные фильмы и красочные фотографии всегда будут напоминать Вам о самых важных моментах и вновь окунать Вас в атмосферу праздника! </p> </div> <div class="content-filter clearfix"> <span>Показывать </span> <a href="/photographs">фотографов</a> / видеооператоров <span> | </span> <span>Сортировать по </span> <select class="sort-select" name=""> <option value="name">имени</option> <option value="price">цене</option> <!--option value="price_htl">сначала дорогие</option--> <!--option value="">типу</option--> </select> </div> <div class="fixtaion-overlay"></div> <div class="info-wrapper"> <?php //=getVideographBlock() ?> <?php echo getVideographBlock(0, 7, 'name', $prize); ?> </div> <?php $scripts .= "\n<script>\n\t\$(function() {\n\t\tvar table = 'video';\n\n scrollLoader();\n\n \t\$('.sort-select').on('change',function(){\n \t\tinProcess = true;\n \t\tsort = \$('.sort-select').val();\n\n \t\t\$('.fixtaion-overlay').show();\n\t\t\tgetContent(table,0,7,sort); \n\t\t\t\$('.info-wrapper > div').remove();\n \t\tsetTimeout(function() { \n \t\t\t\$('.fixtaion-overlay').hide(); \n \t\t}, 50);\n \t});\n\n \tsetTimeout(function(){\n\t\t\t\$('.fancybox-thumb + span').remove();\n \t}, 300)\n\n\t});\n</script>\n";
$table = $_GET["table"]; $sort = $_GET["sort"]; $type_id = $_GET["type_id"]; $skip_id = $_GET["skip_id"]; if (empty($skip_id)) { $skip_id = 0; } switch ($table) { case 'artists': $html = getArtistBlock($count, $count_next); break; case 'artists': $html = getArtistBlock($count, $count_next); break; case 'places': $html = getPlaceBlock($count, $count_next); break; case 'photographs': $html = getPhotographsBlock($count, $count_next, $sort, $skip_id); break; case 'videographs': $html = getVideographBlock($count, $count_next, $sort, $skip_id); break; case 'autos': $html = getAutoBlock($count, $count_next, 'autos', $type_id); //$html = $type_id; break; } echo json_encode($html); } exit;