name : -viewgraphicproject.mod.php
<?php

if (!defined('SITE'))
    exit('Access Denied');
$id = $base['get']['catag'];
$result = $conn->nativeQuerySelect("SELECT * FROM `ext_interior_gallery` WHERE slide_catag = ? AND status = 1 ORDER BY slide_order DESC", array($id));
foreach ($result as $row) {
    $projectId[] = $row["slide_id"];
    $data .= '<div class="panel">';
    $data .= '<a href="index.php?mod=viewgallery&catag=' . $base['get']['catag'] . '&cname=' . $base['get']['cname'] . '&sname=' . $base['get']['sname'] . '&project=' . $row["slide_id"] . '&tag=' . getProjectDetail($row['slide_cover_detail']) . '">';
    $data .= '<img src="' . $row['slide_cover'] . '" title="' . getProjectDetail($row['slide_cover_detail']) . '"/>';
    $data .= '</a>';
    $data .= '</div>';
}
$base['data']['querystring'] = '&catag=' . $base['get']['catag'] . '&nav=' . $base['get']['nav'] . '&tag=' . $base['get']['nav'];
$base['data']['content'] = $data;
//$base['data']['pagenavigatator'] = $base['lang'][$base['get']['nav']];
//
setcookie("projectId", arrayToSplitFormat($projectId));
$base['data']['left'] = getMenuGraphic();
//
template('2col3377');
?>

© 2024 UnknownSec