<?php // ClanSphere 2010 - www.clansphere.net // $Id$ $cs_lang = cs_translate('votes'); $cs_post = cs_post('id'); $cs_get = cs_get('id'); $com_id = empty($cs_get['id']) ? 0 : $cs_get['id']; if (!empty($cs_post['id'])) { $com_id = $cs_post['id']; } require_once 'mods/comments/functions.php'; cs_comments_edit('votes', 'view', $com_id, $cs_lang['mod_name']);
<?php // ClanSphere 2010 - www.clansphere.net // $Id$ $cs_lang = cs_translate('cups'); $cs_post = cs_post('id'); $cs_get = cs_get('id'); $com_id = empty($cs_get['id']) ? 0 : $cs_get['id']; if (!empty($cs_post['id'])) { $com_id = $cs_post['id']; } require_once 'mods/comments/functions.php'; cs_comments_edit('cups', 'match', $com_id, $cs_lang['mod_name']);
<?php // ClanSphere 2010 - www.clansphere.net // $Id$ $cs_lang = cs_translate('static'); $cs_post = cs_post('id'); $cs_get = cs_get('id'); $com_id = empty($cs_get['id']) ? 0 : $cs_get['id']; if (!empty($cs_post['id'])) { $com_id = $cs_post['id']; } require_once 'mods/comments/functions.php'; cs_comments_edit('static', 'view', $com_id, $cs_lang['mod_name']);
<?php // ClanSphere 2010 - www.clansphere.net // $Id$ $cs_lang = cs_translate('gallery'); $cs_post = cs_post('id'); $cs_get = cs_get('id'); $com_id = empty($cs_get['id']) ? 0 : $cs_get['id']; if (!empty($cs_post['id'])) { $com_id = $cs_post['id']; } require_once 'mods/comments/functions.php'; cs_comments_edit('gallery', 'com_view', $com_id, $cs_lang['mod_name'], 'where');
<?php // ClanSphere 2010 - www.clansphere.net // $Id$ $cs_lang = cs_translate('gallery', 1); $cs_post = cs_post('id'); $cs_get = cs_get('id'); $com_id = empty($cs_get['id']) ? 0 : $cs_get['id']; if (!empty($cs_post['id'])) { $com_id = $cs_post['id']; } $cs_com = cs_sql_select(__FILE__, 'comments', 'comments_fid', "comments_id = '" . $com_id . "'"); $fid = $cs_com['comments_fid']; $cs_gallery = cs_sql_select(__FILE__, 'usersgallery', 'usersgallery_close,folders_id,users_id', "usersgallery_id = '" . $fid . "'"); $more = 'cat_id=' . $cs_gallery['folders_id'] . '&more=1&id=' . $cs_gallery['users_id'] . '&pic_id'; require_once 'mods/comments/functions.php'; cs_comments_edit('usersgallery', 'com_view', $com_id, $cs_lang['mod_name'], $more);