Пример #1
0
<?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']);
Пример #2
0
<?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']);
Пример #3
0
<?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']);
Пример #4
0
<?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');
Пример #5
0
<?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'] . '&amp;more=1&amp;id=' . $cs_gallery['users_id'] . '&amp;pic_id';
require_once 'mods/comments/functions.php';
cs_comments_edit('usersgallery', 'com_view', $com_id, $cs_lang['mod_name'], $more);