$row[] = "<label><input type='checkbox' data-name='rad-{$aRow['id']}' name='check_comment[]' value='{$aRow['id']}' rel='ck' ><span class='input-check'></span></label>"; } else { if ($i == 1) { $row[] = $name; } else { if ($i == 2) { $row[] = "<div class='center'>{$status}</div>"; } else { if ($i == 3) { $comm = htmlentities(htmlToText($aRow['comment'])); $comm = substr($comm, 0, 50); $comm = "<a class='tips' title='" . Edit . "' href='?app=article&view=comment&act=edit&id={$aRow['id']}'>{$comm} ...</a>"; $row[] = "{$comm}"; } else { if ($i == 4) { $title = oneQuery('article', 'id', link_param('id', $aRow['link']), 'title'); $link = oneQuery('permalink', 'link', "'{$aRow['link']}'", 'permalink'); $clink = "#comment-{$aRow['id']}"; $title = "<span style='display:none'>{$title}</span><a href='../{$link}{$clink} ' target='_blank' class='outlink'>{$title}</a> "; $row[] = "{$title}"; } else { if ($i == 5) { $row[] = "<div class='center'>{$aRow['date']}</div>"; } else { if ($aColumns[$i] != ' ') { } } } } } }
* @license GNU/GPL, see LICENSE. **/ defined('_FINDEX_') or die('Access Denied'); $name = menu_param('show_name', menuParam); $group = menu_param('show_group', menuParam); $email = menu_param('show_email', menuParam); $job = menu_param('show_job', menuParam); $gender = menu_param('show_gender', menuParam); $phone = menu_param('show_phone', menuParam); $address = menu_param('show_address', menuParam); $links = menu_param('show_links', menuParam); $photo = menu_param('show_photo', menuParam); $job = menu_param('show_job', menuParam); $perpage = menu_param('per_page', menuParam); $view = link_param('view', $menuLink); $id = link_param('id', $menuLink); if ($view == 'person') { $view = 'selected'; } if (!$perpage) { $perpage = 10; } ?> <script type="text/javascript"> $(document).ready(function(){ var loading = $("#loading"); loading.fadeOut(); var link = $("#link").val() $("#type").change(function(){ var vw = $("#view").val();
} $no = 0; while ($qr = mysql_fetch_array($sql)) { $id = "{$qr['id']}"; $auth = "{$qr['name']}"; $info = "{$qr['date']}"; $imgr = md5("{$qr['email']}"); $foto = " <span class='c_gravatar' data-gravatar-hash=\"{$imgr}\"></span>"; $comment = cutWords(htmlToText($qr['comment']), 10); $hide = Hide; $cedit = Edit; $read = Read; $delete = Delete; $approve = Approve; $app = link_param('app', "{$qr['link']}"); $aid = link_param('id', "{$qr['link']}"); $app = "{$qr['apps']}"; if (empty($app)) { $app = 'article'; } $lread = $_POST['url'] . check_permalink("link", "?app=article&view=item&id={$aid}", "permalink"); $edit = "?app={$app}&view=comment&act=edit&id={$id}"; $title = oneQuery('article', 'id', $aid, 'title'); $red = ''; if ($qr['status']) { $approven = "<a class='btn-tools btn btn-danger btn-sm btn-grad disable-user' title='{$hide}' data-id='{$id}'>{$hide}</a><a class='btn-tools btn btn-success btn-sm btn-grad approve-user' title='{$approve}' style='display:none;' data-id='{$id}'>{$approve}</a>"; } else { $approven = "<a data-id='{$id}' class='btn-tools btn btn-success btn-sm btn-grad approve-user' title='{$approve}'>{$approve}</a><a data-id='{$id}' class='btn-tools btn btn-danger btn-sm btn-grad disable-user' title='{$hide}' style='display:none;'>{$hide}</a>"; $red = "class='unapproved'"; } echo "<tr {$red}><td style='text-align: center; vertical-align: middle; padding: 7px 8px 6px 10px;'>{$foto}</td><td style='width: 97%; padding: 7px 8px 8px 0;'><b>{$qr['name']}</b> <span>on</span> {$title}<a data-toggle='tooltip' data-placement='right' title='{$info}' class='icon-time tooltips'></a><a data-toggle='tooltip' data-placement='left' title='{$qr['email']}' class='icon-envelope-alt tooltips'></a>\n\t\t\t<br/><span>{$comment} ...</span><br/>\n\t\t\t<div class='tool-box tool-{$no}'>\n\t\t\t\t{$approven}\n\t\t\t\t<a href='{$edit}' class='btn btn-tools tips' title='{$cedit}'>{$cedit}</a>\n\t\t\t\t<a href='{$lread}#comment-{$qr['id']}' target='_blank' class='btn btn-tools tips' title='{$read}'>{$read}</a>\n\t\t\t\t<!--a class='btn btn-tools tips' title='{$delete}'>{$delete}</a-->\n\t\t\t</div>\n\t\t\t</td></tr>";
<?php /** * @version Beta 1.0 * @package Fiyo CMS * @copyright Copyright (C) 2011 Fiyo CMS. * @license GNU/GPL, see liCENSE.php * @description Simple Module banner for Fiyo CMS **/ $show_panel = mod_param(show_panel, $qr[parameter]); $read_more = mod_param(read_more, $qr[parameter]); $per_page = mod_param(per_page, $qr[parameter]); $view = link_param(view, $qr[link]); $id = link_param(id, $qr[link]); if ($view == 'category') { $view2 = 'selected'; } if ($view == 'item') { $view3 = 'selected'; } if ($show_panel == 1) { $panel1 = "checked"; } if ($show_panel == 0) { $panel2 = "checked"; } if (!$per_page) { $per_page = 5; } ?> <script type="text/javascript">
$show_panel = menu_param('show_panel', menuParam); $show_rss = menu_param('show_rss', menuParam); $read_more = menu_param('read_more', menuParam); $per_page = menu_param('per_page', menuParam); $format = menu_param('format', menuParam); $intro = menu_param('intro', menuParam); $imgW = menu_param('imgW', menuParam); $imgH = menu_param('imgH', menuParam); if (!is_numeric($imgW) or empty($imgW)) { $imgW = 120; } if (!is_numeric($imgH) or empty($imgH)) { $imgH = 100; } $aId = link_param('id', $menuLink); $view = link_param('view', $menuLink); if ($view == 'archives') { $view1 = 'selected'; } else { if ($view == 'category') { $view2 = 'selected'; } else { if ($view == 'item') { $view4 = 'selected'; } else { $view3 = 'selected'; } } } if ($format == 'default') { $format1 = 'selected';