Example #1
0
function img($dirurl, $dirname, $ex, $thumb, $isadmin = '', $ip = '', $time = '', $views = '')
{
    global $base;
    $sitename = $_SERVER['HTTP_HOST'];
    $img = '<div class="showimage">';
    $img .= '<div class="display">';
    $img .= '<a href="' . getlink('show', array($dirurl, '&amp;')) . '" target="_blank"><img src="' . $dirname . ($thumb ? '.th' : '') . $ex . '" alt="Host by ' . $sitename . '" /></a>';
    if ($isadmin) {
        $img .= '<br />IP: ' . $ip . '<br />' . convertdate($time) . ', ' . $base['lang']['image_views'] . ' ' . $views . ' <a href="javascript:;" id="dc' . $dirurl . '" onClick="di(' . $dirurl . ')">' . $base['lang']['delete'] . '</a>';
    }
    $img .= '</div>';
    $img .= '<div class="imgcode"><span>' . $base['lang']['code_direct_url'] . '</span><br />';
    $img .= '<input onmouseover="this.select();" name="" type="text" value="' . getlink('show', array($dirurl, '&amp;')) . '" readonly="true" /><br />';
    $img .= '<input onmouseover="this.select();" name="" type="text" value="' . $dirname . $ex . '" readonly="true" /><br />';
    $img .= '<span>' . $base['lang']['code_bb_full'] . '</span><br />';
    $img .= '<input onmouseover="this.select();" name="" type="text" value="[url=' . getlink('show', array($dirurl, '&amp;')) . '][img]' . $dirname . $ex . '[/img][/url]" readonly="true" /><br />';
    if ($thumb) {
        $img .= '<span>' . $base['lang']['code_bb_thumb'] . '</span><br />';
        $img .= '<input onmouseover="this.select();" name="" type="text" value="[url=' . getlink('show', array($dirurl, '&amp;')) . '][img]' . $dirname . '.th' . $ex . '[/img][/url]" readonly="true" /><br />';
    }
    $img .= '<span>' . $base['lang']['code_html_full'] . '</span><br />';
    $img .= '<input onmouseover="this.select();" name="" type="text" value="&lt;a href=&quot;' . getlink('show', array($dirurl, '&amp;amp;')) . '&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;' . $dirname . $ex . '&quot; alt=&quot;Host by ' . $sitename . '&quot; /&gt;&lt;/a&gt;" readonly="true" /><br />';
    if ($thumb) {
        $img .= '<span>' . $base['lang']['code_html_thumb'] . '</span><br />';
        $img .= '<input onmouseover="this.select();" name="" type="text" value="&lt;a href=&quot;' . getlink('show', array($dirurl, '&amp;amp;')) . '&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;' . $dirname . '.th' . $ex . '&quot; alt=&quot;Host by ' . $sitename . '&quot; /&gt;&lt;/a&gt;" readonly="true" />';
    }
    $img .= '</div>';
    $img .= '</div>';
    return $img;
}
Example #2
0
function url_from_varval($variable, $value)
{
    global $mainindex, $adminindex, $home, $op;
    $equalling = '';
    foreach ($_GET as $var => $val) {
        if ($var != 'newlang' && $var != 'name' && !($var == 'file' && $val == 'index')) {
            $equalling .= htmlspecialchars($var) . '=' . htmlspecialchars($val) . '&amp;';
        }
    }
    $equalling .= $variable . '=' . $value;
    //If under admin pages
    if (defined('ADMIN_PAGES')) {
        //If on admin index page
        if ($op == 'index') {
            $variable_url = $adminindex . '?' . $equalling;
            //If not on admin index page, but still under admin pages
        } else {
            $variable_url = adminlink('&amp;' . $equalling);
        }
        //If on site home page
    } else {
        if ($home) {
            $variable_url = $mainindex . '?' . $equalling;
            //If on some module etc
        } else {
            $variable_url = getlink('&amp;' . $equalling);
        }
    }
    return $variable_url;
}
Example #3
0
function themeheader()
{
    global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $db, $prefix, $site_logo, $MAIN_CFG, $CPG_SESS, $Blocks;
    if ($MAIN_CFG['global']['admingraphic'] & 4) {
        include 'includes/cssmainmenu.php';
    }
    $imgr = $imgl = '';
    // left blocks ?
    if ($Blocks->l && $Blocks->showblocks & 1) {
        $img = $Blocks->hideblock('600') ? 'plus.gif' : 'minus.gif';
        $imgl = '<img alt="' . _TOGGLE . '" title="' . _TOGGLE . '" id="pic600" src="themes/' . $CPG_SESS['theme'] . '/images/' . $img . '" onclick="blockswitch(\'600\');" style="cursor:pointer; float:left; padding-top:3px;" />';
    }
    // right blocks ?
    if ($Blocks->r && $Blocks->showblocks & 2) {
        $img = $Blocks->hideblock('601') ? 'plus.gif' : 'minus.gif';
        $imgr = '<img alt="' . _TOGGLE . '" title="' . _TOGGLE . '" id="pic601" src="themes/' . $CPG_SESS['theme'] . '/images/' . $img . '" onclick="blockswitch(\'601\');" style="cursor:pointer; float:right; padding-top:3px;" />';
    }
    $result = $db->sql_uquery("SELECT topicid, topictext FROM " . $prefix . "_topics ORDER BY topictext");
    while ($row = $db->sql_fetchrow($result, SQL_NUM)) {
        $toplist[$row[0]] = $row[1];
    }
    $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
    $css_ie = ereg('MSIE 7.0', $user_agent) ? 'ie7' : (ereg('MSIE ([0-6].[0-9]{1,2})', $user_agent) ? 'ie6' : (isset($_SESSION['SECURITY']['UA']) && $_SESSION['SECURITY']['UA'] == 'Safari' ? 'safari' : (isset($_SESSION['SECURITY']['UA']) && $_SESSION['SECURITY']['UA'] == 'Opera' ? 'opera' : '')));
    $cpgtpl->assign_vars(array('CSS_IE' => $css_ie ? '<link rel="stylesheet" type="text/css" href="themes/' . $CPG_SESS['theme'] . '/style/' . $css_ie . '.css" />' : '', 'PUBLIC_HEADER' => !defined('ADMIN_PAGES'), 'B_L_VISIBLE' => $Blocks->hideblock('600') ? 'style="display: none"' : '', 'BLOG_ENABLED' => is_active('Blogs'), 'G_LEFTIMAGE' => $imgl, 'G_RIGHTIMAGE' => $imgr, 'S_TOGGLE' => _TOGGLE, 'S_SEARCH' => _SEARCH, 'S_IS_ADMIN' => is_admin(), 'S_CAN_ADMIN' => can_admin(), 'S_IS_USER' => is_user(), 'S_LOGO' => $site_logo, 'S_SITENAME' => $sitename, 'S_WELCOME' => _WELCOMETO, 'S_HOME' => _HOME, 'S_BLOG' => _BlogsLANG, 'S_DOWNLOADS' => _DownloadsLANG, 'S_GALLERY' => _coppermineLANG, 'S_FORUMS' => _ForumsLANG, 'S_MY_ACCOUNT' => _Your_AccountLANG, 'S_NEWS' => _NewsLANG, 'S_ADMIN' => _ADMINISTRATION, 'S_BANNER' => $banners ? viewbanner() : '', 'U_MAININDEX' => $mainindex, 'U_NEWS' => getlink('News'), 'U_SEARCH' => getlink('Search'), 'U_DOWNLOADS' => getlink('Downloads'), 'U_FORUMS' => getlink('Forums'), 'U_GALLERY' => getlink('coppermine'), 'U_BLOG' => getlink('Blogs'), 'U_MY_ACCOUNT' => getlink('Your_Account'), 'U_ADMININDEX' => $adminindex, 'S_MAIN_MENU' => isset($mmcontent) ? $mmcontent : false));
    $Blocks->display('l');
}
Example #4
0
function downl_infomenu_tpl($lid)
{
    echo "<br /><font class=\"content\">[ " . "<a href=\"" . getlink("&amp;d_op=viewdownloadcomments&amp;lid={$lid}") . "\">" . _DOWNLOADCOMMENTS . "</a>" . " | <a href=\"" . getlink("&amp;d_op=viewdownloaddetails&amp;lid={$lid}") . "\">" . _ADDITIONALDET . "</a>" . " | <a href=\"" . getlink("&amp;d_op=viewdownloadeditorial&amp;lid={$lid}") . "\">" . _EDITORREVIEW . "</a>" . " | <a href=\"" . getlink("&amp;d_op=modifydownloadrequest&amp;lid={$lid}") . "\">" . _MODIFY . "</a>";
    if (is_user()) {
        echo " | <a href=\"" . getlink("&amp;d_op=brokendownload&amp;lid={$lid}") . "\">" . _REPORTBROKEN . "</a>";
    }
    echo " ]</font>";
}
Example #5
0
function viewdownloadcomments()
{
    global $downloadsprefix, $db, $bgcolor2, $module_name;
    $lid = intval($_GET['lid']);
    include "header.php";
    downl_menu_tpl(1);
    echo '<br />';
    $result = $db->sql_query("SELECT ratinguser, rating, ratingcomments, ratingtimestamp FROM " . $downloadsprefix . "_votedata WHERE ratinglid = {$lid} AND ratingcomments != '' ORDER BY ratingtimestamp DESC");
    $totalcomments = $db->sql_numrows($result);
    $transfertitle = ereg_replace("_", " ", $ttitle);
    $displaytitle = $transfertitle;
    OpenTable();
    echo "<center><font class=\"option\"><b>" . _DOWNLOADPROFILE . ": {$displaytitle}</b></font><br /><br />";
    downl_infomenu_tpl($lid, $ttitle);
    echo "<br /><br /><br />" . _TOTALOF . " {$totalcomments} " . _COMMENTS . "</font></center><br />" . "<table align=\"center\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"450\">";
    $x = 0;
    while (list($ratinguser, $rating, $ratingcomments, $ratingtimestamp) = $db->sql_fetchrow($result)) {
        ereg("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $ratingtimestamp, $ratingtime);
        $ratingtime = strftime("%F", mktime($ratingtime[4], $ratingtime[5], $ratingtime[6], $ratingtime[2], $ratingtime[3], $ratingtime[1]));
        $date_array = explode("-", $ratingtime);
        $timestamp = mktime(0, 0, 0, $date_array["1"], $date_array["2"], $date_array["0"]);
        $formatted_date = date("F j, Y", $timestamp);
        /* Individual user information */
        $result2 = $db->sql_query("SELECT rating FROM " . $downloadsprefix . "_votedata WHERE ratinguser = '******'");
        $usertotalcomments = $db->sql_numrows($result2);
        $useravgrating = 0;
        while (list($rating2) = $db->sql_fetchrow($result2)) {
            $useravgrating = $useravgrating + $rating2;
        }
        $useravgrating = $useravgrating / $usertotalcomments;
        $useravgrating = number_format($useravgrating, 1);
        echo "<tr><td bgcolor=\"{$bgcolor2}\">" . "<font class=\"content\"><b> " . _USER . ": </b><a href=\"{$nukeurl}/" . getlink("Your_Account&amp;op=userinfo&amp;username={$ratinguser}") . "\">{$ratinguser}</a></font></td>" . "<td bgcolor=\"{$bgcolor2}\"><font class=\"content\"><b>" . _RATING . ": </b>{$rating}</font></td>" . "<td bgcolor=\"{$bgcolor2}\" align=\"right\"><font class=\"content\">{$formatted_date}</font></td>" . "</tr><tr>" . "<td valign=\"top\"><font class=\"tiny\">" . _USERAVGRATING . ": {$useravgrating}</font></td>" . "<td valign=\"top\" colspan=\"2\"><font class=\"tiny\">" . _NUMRATINGS . ": {$usertotalcomments}</font></td>" . "</tr><tr>" . "<td colspan=\"3\">" . "<font class=\"content\">";
        if (can_admin('downloads')) {
            echo "<a href=\"" . adminlink("{$module_name}&mode=DownloadsModDownload&amp;lid={$lid}") . "\"><img src=\"modules/{$module_name}/images/editicon.gif\" border=\"0\" alt=\"" . _EDITTHISDOWNLOAD . "\"></a>";
        }
        echo " {$ratingcomments}</font><br /><br /><br /></td></tr>";
        $x++;
    }
    echo "</table><br /><br /><center>";
    downloadfooter($lid);
    echo "</center>";
    CloseTable();
    include "footer.php";
}
Example #6
0
function themeheader()
{
    global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $site_logo, $CPG_SESS, $MAIN_CFG, $Blocks;
    if ($MAIN_CFG['global']['admingraphic'] & 4) {
        include 'includes/cssmainmenu.php';
    }
    $imgr = $imgl = '';
    // left blocks ?
    if ($Blocks->l) {
        $img = $Blocks->hideblock('600') ? 'plus.gif' : 'minus.gif';
        $imgl = '<img alt="Toggle Content" title="Toggle Content" id="pic600" src="themes/' . $CPG_SESS['theme'] . '/images/' . $img . '" onclick="blockswitch(\'600\');" style="cursor:pointer; float:left; padding:2px 0 2px 0;" />';
    }
    // right blocks ?
    if ($Blocks->r) {
        $img = $Blocks->hideblock('601') ? 'plus.gif' : 'minus.gif';
        $imgr = '<img alt="Toggle Content" title="Toggle Content" id="pic601" src="themes/' . $CPG_SESS['theme'] . '/images/' . $img . '" onclick="blockswitch(\'601\');" style="cursor:pointer; float:right; padding:2px 0 2px 0;" />';
    }
    $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
    $cpgtpl->assign_vars(array('CSS_IE' => ereg('MSIE 7.0', $user_agent) ? '<link rel="stylesheet" type="text/css" href="themes/' . $CPG_SESS['theme'] . '/style/ie7.css" />' : (ereg('MSIE ([0-6].[0-9]{1,2})', $user_agent) ? '<link rel="stylesheet" type="text/css" href="themes/' . $CPG_SESS['theme'] . '/style/ie6.css" />' : ''), 'PUBLIC_HEADER' => !defined('ADMIN_PAGES'), 'B_L_VISIBLE' => $Blocks->hideblock('600') ? 'style="display: none"' : '', 'B_L_HIDDEN' => $Blocks->hideblock('600') ? '' : 'style="display: none"', 'G_LEFTIMAGE' => $imgl, 'G_RIGHTIMAGE' => $imgr, 'S_IS_ADMIN' => is_admin(), 'S_CAN_ADMIN' => can_admin(), 'S_IS_USER' => is_user(), 'S_LOGO' => $site_logo, 'S_SITENAME' => $sitename, 'S_HOME' => _HOME, 'S_DOWNLOADS' => is_active('Downloads') ? _DownloadsLANG : false, 'S_FORUMS' => _ForumsLANG, 'S_MY_ACCOUNT' => is_user() ? _Your_AccountLANG : _BREG, 'S_ADMIN' => _ADMINISTRATION, 'S_BANNER' => $banners ? viewbanner() : '', 'U_MAININDEX' => $mainindex, 'U_DOWNLOADS' => getlink('Downloads'), 'U_FORUMS' => getlink('Forums'), 'U_MY_ACCOUNT' => getlink(is_user() ? 'Your_Account' : 'Your_Account&amp;file=register'), 'U_ADMININDEX' => $adminindex, 'S_MAIN_MENU' => isset($mmcontent) ? $mmcontent : false));
    $Blocks->display('l');
}
Example #7
0
function themeheader()
{
    global $slogan, $sitename, $banners, $mainindex, $adminindex, $index, $cpgtpl, $ownpagetitle;
    $imgr = $imgl = '';
    // left blocks ?
    if (blocks_visible('l')) {
        $topblockl = '<td width="194"><img src="themes/PH2/images/left_block_top.jpg" height="12" alt="" /></td>';
        $img = hideblock('600') ? 'plus.gif' : 'minus.gif';
        $imgl = '<img align="left" alt="Toggle Content" title="Toggle Content" id="pic600" src="themes/PH2/images/' . $img . '" onclick="blockswitch(\'600\');" style="cursor:pointer" />';
    } else {
        $topblockl = '<td width="194" class="mtop_block"></td>';
    }
    // right blocks ?
    if (blocks_visible('r')) {
        $topblock = '<td width="194"><img src="themes/PH2/images/right_block_top.jpg" height="12" alt="" /></td>';
        $img = hideblock('601') ? 'plus.gif' : 'minus.gif';
        $imgr = '<img align="right" alt="Toggle Content" title="Toggle Content" id="pic601" src="themes/PH2/images/' . $img . '" onclick="blockswitch(\'601\');" style="cursor:pointer" />';
    } else {
        $topblock = '<td width="194" class="mtop_block"></td>';
    }
    $cpgtpl->assign_vars(array('PUBLIC_HEADER' => !defined('ADMIN_PAGES'), 'B_L_VISIBLE' => hideblock('600') ? 'style="display: none"' : '', 'G_LEFTIMAGE' => $imgl, 'G_RIGHTIMAGE' => $imgr, 'S_IS_ADMIN' => is_admin(), 'S_CAN_ADMIN' => can_admin(), 'S_IS_USER' => is_user(), 'S_SITENAME' => $sitename, 'S_HOME' => _HOME, 'S_DOWNLOADS' => _DownloadsLANG, 'S_FORUMS' => _ForumsLANG, 'S_MY_ACCOUNT' => _Your_AccountLANG, 'S_ADMIN' => _ADMINISTRATION, 'S_BANNER' => $banners ? viewbanner() : '', 'U_MAININDEX' => $mainindex, 'U_DOWNLOADS' => getlink('Downloads'), 'U_FORUMS' => getlink('Forums'), 'U_MY_ACCOUNT' => getlink('Your_Account'), 'U_ADMININDEX' => $adminindex, 'U_PRIVATE_M' => getlink('Private_Messages'), 'U_GALLERY' => getlink('coppermine'), 'U_SEARCH' => getlink('Search'), 'G_LBLOCK_TOP' => $topblockl, 'G_RBLOCK_TOP' => $topblock));
    blocks('left');
}
Example #8
0
define('_DCATNEWTODAY', 'Novos Downloads nesta categoria adicionados Hoje');
define('_DCATLAST3DAYS', 'Novos Downloads nesta categoria adicionados nos últimos 3 dias');
define('_DCATTHISWEEK', 'Novos Downloads nesta categoria adicionados nesta semana');
define('_DDATE1', 'Data (Downloads Antigos Listados Primeiro)');
define('_DDATE2', 'Data (Downloads Novos Listados Primeiro)');
define('_DOWNLOADS', 'downloads');
define('_DOWNLOADPROFILE', 'Perfil do Download');
define('_DOWNLOADRATINGDET', 'Detalhes das classificações do Download');
define('_EDITTHISDOWNLOAD', 'Editar este Download');
define('_DOWNLOADRATING', 'Classificando Download');
define('_DOWNLOADVOTE', 'Vote!');
define('_DONLYREGUSERSMODIFY', 'Only registered users can suggest downloads modifications. Please <a href="' . getlink("Your_Account") . '">register or login</a>.');
define('_REQUESTDOWNLOADMOD', 'Pedido para modificação de Download');
define('_DOWNLOADID', 'Download ID');
define('_DLETSDECIDE', 'Recomendação de utilizadores como você ajudará melhor a outros visitantes fazer o download de determinado arquivo.');
define('_DRATENOTE4', 'Você pode ver uma lista dos <a href="' . getlink("Downloads&amp;d_op=TopRated") . '"><b>Arquivos Melhores Classificados</b></a>.');
define('_POPULAR', 'Popular');
define('_TOPRATED', 'Melhor Colocado');
define('_ADDITIONALDET', 'Detalhes Adicionais');
define('_EDITORREVIEW', 'Editor da Revisão');
define('_REPORTBROKEN', 'Indique-nos os links inválidos');
define('_AND', 'e');
define('_INDB', 'no nosso web site');
define('_INSTRUCTIONS', 'Instruções');
define('_USERANDIP', 'Fica registado o nome do utilizador bem como o ip de quem enviou o Link, por favor não abuse deste sistema.');
define('_LDESCRIPTION', 'Descrição: (255 máx. caracteres)');
define('_CHECKFORIT', 'Você não nos indicou o seu Email. De qualquer maneira a nossa equipe irá conferir o seu Link');
define('_LASTWEEK', 'última semana');
define('_LAST30DAYS', 'últimos 30 dias');
define('_1WEEK', '1 Semana');
define('_2WEEKS', '2 Semanas');
Example #9
0
function ratedownload()
{
    global $userinfo;
    $lid = intval($_REQUEST['lid']);
    include "header.php";
    downl_menu_tpl(1);
    echo '<br />';
    OpenTable();
    $displaytitle = ereg_replace("_", " ", $ttitle);
    $ip = $_SERVER["REMOTE_HOST"];
    if (empty($ip)) {
        $ip = $_SERVER["REMOTE_ADDR"];
    }
    echo "<b>{$displaytitle}</b>" . "<ul><font class=\"content\">" . "<li>" . _RATENOTE1 . "<li>" . _RATENOTE2 . "<li>" . _RATENOTE3 . "<li>" . _DRATENOTE4 . "<li>" . _RATENOTE5;
    if (is_user()) {
        echo "<li>" . _YOUAREREGGED . "<li>" . _FEELFREE2ADD;
        $auth_name = $userinfo['username'];
    } else {
        echo "<li>" . _YOUARENOTREGGED . "<li>" . _IFYOUWEREREG;
        $auth_name = $anonymous;
    }
    echo "</ul>" . "<form method=\"post\" action=\"" . getlink() . "\">" . "<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"100%\">" . "<tr><td width=\"25\" nowrap></td>" . "<tr><td width=\"25\" nowrap></td><td width=\"550\">" . "<input type=\"hidden\" name=\"ratinglid\" value=\"{$lid}\" />" . "<input type=\"hidden\" name=\"ratinguser\" value=\"{$auth_name}\" />" . "<input type=\"hidden\" name=\"ratinghost_name\" value=\"{$ip}\" />" . "<font class=content>" . _RATETHISSITE . "" . "<select name=\"rating\">" . "<option>--</option>" . "<option>10</option>" . "<option>9</option>" . "<option>8</option>" . "<option>7</option>" . "<option>6</option>" . "<option>5</option>" . "<option>4</option>" . "<option>3</option>" . "<option>2</option>" . "<option>1</option>" . "</select></font>" . "<font class=\"content\"><input type=\"submit\" value=\"" . _RATETHISSITE . "\" /></font>" . "<br /><br />";
    if (is_user()) {
        echo "<b>" . _SCOMMENTS . ":</b><br /><textarea wrap=\"virtual\" cols=\"50\" rows=\"10\" name=\"ratingcomments\"></textarea><br /><br /><br /></font>";
    } else {
        echo "<input type=\"hidden\" name=\"ratingcomments\" value=\"\" />";
    }
    echo "</td></tr></table></form>";
    echo "<center>";
    downloadfooterchild($lid);
    echo "</center>";
    CloseTable();
    include "footer.php";
}
Example #10
0
define('_THRESHOLD', 'Threshold');
define('_NOCOMMENTS', 'No Comments');
define('_NESTED', 'Nested');
define('_FLAT', 'Flat');
define('_THREAD', 'Thread');
define('_OLDEST', 'Oldest First');
define('_NEWEST', 'Newest First');
define('_HIGHEST', 'Highest Scores First');
define('_COMMENTSWARNING', 'The comments are owned by the poster. We aren\'t responsible for their content.');
define('_SCORE', 'Score:');
define('_USERINFO', 'User Info');
define('_READREST', 'Read the rest of this comment...');
define('_REPLY', 'Reply to This');
define('_REPLYMAIN', 'Post Comment');
define('_NOSUBJECT', 'No Subject');
define('_NOANONCOMMENTS', 'No Comments Allowed for Anonymous, please <a href="' . getlink("Your_Account&amp;file=register") . '">register</a>');
define('_PARENT', 'Parent');
define('_ROOT', 'Root');
define('_UCOMMENT', 'Comment');
define('_ALLOWEDHTML', 'Allowed HTML:');
define('_POSTANON', 'Post Anonymously');
define('_EXTRANS', 'Extrans (html tags to text)');
define('_HTMLFORMATED', 'HTML Formated');
define('_PLAINTEXT', 'Plain Old Text');
define('_ONN', 'on...');
define('_COMMENTREPLY', 'Comment Post');
define('_COMREPLYPRE', 'Comment Post Preview');
define('_NOTRIGHT', 'Something is not right with passing a variable to this function. This message is just to keep things from messing up down the road');
define('_SENDAMSG', 'Send a Message');
define('_YOUSENDSTORY', 'You will send the story');
define('_TOAFRIEND', 'to a specified friend:');
Example #11
0
define('_RETURN2MAIN', 'Return to Main Menu');
define('_REVIEWCOMMENT', 'Comment on the Review:');
define('_YOURNICK', 'Your Nickname:');
define('_RCREATEACCOUNT', '<a href="' . getlink("Your_Account") . '">Create</a> an account');
define('_YOURCOMMENT', 'Your Comment:');
define('_MYSCORE', 'My Score:');
define('_REVIEWMOD', 'Review Modification');
define('_RDATE', 'Date:');
define('_RTITLE', 'Title:');
define('_RTEXT', 'Text:');
define('_REVEMAIL', 'Email:');
define('_RLINK', 'Link:');
define('_RLINKTITLE', 'Link Title:');
define('_COVERIMAGE', 'Cover Image:');
define('_PREMODS', 'Preview Modifications');
define('_PAGE', 'Page');
define('NO_GET', 'Please use our form as no GET requests are allowed');
/**************************
  ADMNINISTRATION SECTION
**************************/
define('_REVADMIN', 'Reviews Administration');
define('_REVTITLE', 'Reviews Page Title');
define('_REVDESC', 'Reviews Page Description');
define('_REVWAITING', 'Reviews Waiting for Validation');
define('_REVIMGINFO', 'Store your 150*150 image in images/reviews');
define('_NOREVIEW2ADD', 'No reviews to add');
define('_ADDREVIEW', 'Add Review');
define('_CLICK2ADDREVIEW', 'Click here to write a review');
define('_DELMODREVIEW', 'Delete / Modify a review');
define('_MODREVINFO', 'You can simply delete/modify reviews by browsing <a href="' . getlink('Reviews') . '">Reviews</a> as Admin.');
        while ($row = $db->sql_fetchrow($result)) {
            $topic_id = $row['topic_id'];
            $forum_id = $row['forum_id'];
            $post_date = MB::tolower(formatDateTime($row['post_time'], '%d. %b'));
            $post_time = formatDateTime($row['post_time'], '%T');
            $post_time_ago = getTimeAgo($row['post_time'], dfTime());
            $new_post = 0;
            if (is_user() && $row['post_time'] > $userinfo['user_lastvisit'] && (!empty($tracking_topics) || !empty($tracking_forums) || isset($CPG_SESS['Forums']['track_all']))) {
                $new_post = 1;
                if (!empty($tracking_topics[$topic_id]) && $tracking_topics[$topic_id] > $row['post_time'] || !empty($tracking_forums[$forum_id]) && $tracking_forums[$forum_id] > $row['post_time'] || isset($CPG_SESS['Forums']['track_all']) && $CPG_SESS['Forums']['track_all'] > $row['post_time']) {
                    $new_post = 0;
                }
            }
            $cpgtpl->assign_block_vars('topic', array('LAST_POST_LINK' => getlink('Forums&amp;file=viewtopic&amp;p=' . $row['topic_last_post_id'] . '#' . $row['topic_last_post_id']), 'TOPIC_TITLE' => $row['topic_title'], 'TOPIC_REPLIES' => $row['topic_replies'], 'LAST_POST_USERNAME' => $row['username'], 'USER_LINK' => getlink('Your_Account&amp;profile=' . $row['user_id']), 'LAST_POST_DATE' => $post_date, 'LAST_POST_TIME' => $post_time, 'LAST_POST_TIME_AGO' => $post_time_ago, 'S_NEW_POST' => $new_post, 'FORUM_NAME' => $row['forum_name']));
        }
        $cpgtpl->assign_var('FORUMS_URL', getlink('Forums'));
    }
    //Uncomment this, if you need translated strings:
    /*
    $cpgtpl->assign_vars(array(
      'S_REPLIES'         => $lang['Replies'],
      'S_LAST_POST'       => $lang['Last_Post']
    ));
    */
    ob_start();
    $cpgtpl->set_filenames(array('template' => 'blocks/latest_forum_posts.html'));
    $cpgtpl->display('template');
    $content = ob_get_clean();
}
function getTimeAgo($datefrom, $dateto = -1)
{
Example #13
0
define('_DCATNEWTODAY', 'Dagens nye nedlastninger i denne kategorien');
define('_DCATLAST3DAYS', 'De siste 3 dagers nye nedlasninger i denne kategorien');
define('_DCATTHISWEEK', 'Denne ukens nye nedlastninger i denne kategorien');
define('_DDATE1', 'Dato (De eldste vises først)');
define('_DDATE2', 'Dato (De nyeste vises først)');
define('_DOWNLOADS', 'nedlastninger');
define('_DOWNLOADPROFILE', 'Nedlastningsprofil');
define('_DOWNLOADRATINGDET', 'Poengsettingsdetaljer');
define('_EDITTHISDOWNLOAD', 'Rediger denne nedlastningen');
define('_DOWNLOADRATING', 'Poengsetting');
define('_DOWNLOADVOTE', 'Stem!');
define('_DONLYREGUSERSMODIFY', 'Bare registrerte brukere kan foreslå nedlastingsendringer. Vennligst <a href="' . getlink("Your_Account") . '">registrer deg eller logg inn</a>.');
define('_REQUESTDOWNLOADMOD', 'Be om modifisering av nedlastning');
define('_DOWNLOADID', 'NedlastningsID');
define('_DLETSDECIDE', 'Innspill fra brukere som deg vil hjelpe våre besøkende til bedre å velge hvilke nedlastninger som er best.');
define('_DRATENOTE4', 'Du kan se en liste over nedlastningene med høyest poengsum <a href="' . getlink("Downloads&amp;d_op=TopRated") . '">her</a>.');
define('_POPULAR', 'Populær');
define('_TOPRATED', 'Høyest poengsum');
define('_ADDITIONALDET', 'Fler detaljer');
define('_EDITORREVIEW', 'Anmeldelse av redaktør');
define('_REPORTBROKEN', 'Rapporter ødelagt link');
define('_AND', 'og');
define('_INDB', 'i vår database');
define('_INSTRUCTIONS', 'Instruksjoner');
define('_USERANDIP', 'Brukernavn og IPadresse blir lagret. Ikke misbruk systemet.');
define('_LDESCRIPTION', 'Beskrivelse: (Maks 255 tegn)');
define('_CHECKFORIT', 'Du skrev ingen E-postadresse. Vi vil likevel se på din link.');
define('_LASTWEEK', 'Siste uken');
define('_LAST30DAYS', 'Siste 30 dager');
define('_1WEEK', '1 uke');
define('_2WEEKS', '2 uker');
Example #14
0
define("_NEWSLETTER", "Newsletter");
define("_MASSMAIL", "A Massive e-mail to ALL users");
define("_ANEWSLETTER", "A Newsletter to subscribed users only");
define("_WHATTODO", "What do you want to send?");
define("_SUBSCRIBEDUSERS", "Subscribed Users");
define("_NYOUAREABOUTTOSEND", "You're about to send a Newsletter to subscribed users.");
define("_NUSERWILLRECEIVE", "Users will receive this Newsletter.");
define("_REVIEWTEXT", "Please review and check your text:");
define("_NAREYOUSURE2SEND", "Are you sure to send this Newsletter now?");
define("_MYOUAREABOUTTOSEND", "You're about to send a Massive e-mail to ALL registered users.");
define("_MUSERWILLRECEIVE", "Users will receive this Mail.");
define("_MAREYOUSURE2SEND", "Are you sure to send this Massive Email now?");
define("_POSSIBLESPAM", "Please note that some users may feel disturbed by massive email and may consider this as Spam!");
define("_MASSEMAIL", "Massive Email");
define("_MANYUSERSNOTE", "WARNING! There are many users that will receive this text. Please wait until the script finish the operation. This can take some minutes to complete!");
define("_NLUNSUBSCRIBE", "=========================================================\nYou're receiving this Newsletter because you selected to receive it from your user page at {$sitename}.\nYou can unsubscribe from this service by clicking in the following URL:\n\n" . getlink('Your_Account&amp;op=edituser', true, true) . "\n\nthen select \"No\" from the option to Receive Newsletter by Email and save your changes, if you need more assistance please contact {$sitename} administrator.");
define("_NEWSLETTERSENT", "The Newsletter has been sent.");
define("_MASSEMAILSENT", "Massive Email to all registered users has been sent.");
define("_MASSEMAILMSG", "=========================================================\nYou're receiving this email because you're a registered user of {$sitename}. We hope that this email didn't disturbed you and in some manner contributes to improve our services.");
define("_BBFORUM", "Forum");
define("_BBDELFORUM", "Are you sure you want to delete this Forum and ALL its Posts?");
define("_BBDELCAT", "Are you sure you want to delete this Category and ALL its Forums and Posts?");
define("_BBAEDITCAT", "Edit Categories");
define("_BBACAT", "Categories");
define("_BBASAVECHANGES", "Save Changes");
define("_BBAFCAT", "Forum Categories");
define("_BBAORDER", "Order");
define("_BBANOOFF", "No. of Forum(s)");
define("_BBAFUNC", "Function");
define("_BBAEDIT", "Edit");
define("_BBADELETE", "Delete");
define("_PROMOTE05", "謝謝,祝您幸運!");
define("_STAFF", "工作人員");
define("_THANKSBROKEN", "感謝您協助維護此目錄之完整。");
define("_THANKSFORINFO", "感謝提供資訊");
define("_LOOKTOREQUEST", "我們會立刻處理您的請求");
define("_REQUESTLINKMOD", "要求鏈結修改");
define("_ONLYREGUSERSMODIFY", "只有註冊使用者能建議下載資源的修改,請<a href=\"" . getlink("Your_Account") . "\">註冊或登入</a>.");
define("_LINKID", "鏈結識別碼");
define("_SENDREQUEST", "寄出請求");
define("_THANKSTOTAKETIME", "感謝您花時間在此對一個網站評分");
define("_LETSDECIDE", "使用者的意見可以幫助其他的使用者來判斷,哪一個鏈結對他們有用");
define("_RETURNTO", "回到");
define("_RATENOTE1", "請不要對同一個連結投一票以上");
define("_RATENOTE2", "分數由1分到10分, 1 為待改進 10 為極優良");
define("_RATENOTE3", "請客觀地投票, 假如每一人都投1或10, 評分就不具意義");
define("_RATENOTE4", "要看清單請到 <a href=\"" . getlink("Web_Links&amp;l_op=TopRated") . "\">網站評分排行榜</a>.");
define("_RATENOTE5", "請不要投給您自有的資源或是競爭者");
define("_YOUAREREGGED", "您是一個已登入的註冊使用者");
define("_FEELFREE2ADD", "請自由地評論這個網站.");
define("_YOUARENOTREGGED", "您不是一個註冊使用者或您尚未登入");
define("_IFYOUWEREREG", "會員可作此網站的評論");
define("_WEBLINKS", "網站鏈結");
define("_TITLE", "標題");
define("_MODIFY", "修改");
define("_COMPLETEVOTE1", "感謝您的投票.");
define("_COMPLETEVOTE2", "您在過去的 {$anonwaitdays} 天之內, 已經對這個網站連結投票過了.");
define("_COMPLETEVOTE3", "只能對這個網站投一次票.<br>所有的投票已經紀錄下來, 且經過檢查了.");
define("_COMPLETEVOTE4", "您不能對您自己登錄的連結投票<br>所有的投票已經紀錄下來, 且經過檢查了.");
define("_COMPLETEVOTE5", "沒選擇票選功能,不舉行票選");
define("_COMPLETEVOTE6", "每個 IP 位址在 {$outsidewaitdays} 天之內只允許投一次票.");
define("_LINKSDATESTRING", "%b%d日,%Y");
Example #16
0
define('_ISAVAILABLE', 'Este disponibil în baza de date a review-urilor.');
define('_EDITORWILLLOOK', 'Editorii vor analiza trimiterea Dvs. Ea va fi disponibilă în curând!');
define('_RBACK', 'Înapoi la indexul Review-urilor');
define('_RWELCOME', 'Bine aţi venit la secţiunea Review-uri');
define('_10MOSTPOP', 'Cele mai populare 10 review-uri');
define('_10MOSTREC', 'Cele mai recente 10 review-uri');
define('_THEREARE', 'Există');
define('_REVIEWSINDB', 'review-uri în baza de date');
define('_REVIEWS', 'Review-uri');
define('_REVIEWSLETTER', 'Review-uri pentru scrisoare');
define('_NOREVIEWS', 'Nu există nici un review pentru scrisoare');
define('_TOTALREVIEWS', 'Numărul total de review-uri găsite.');
define('_RETURN2MAIN', 'Întoarceţi-vă în Meniul principal');
define('_REVIEWCOMMENT', 'Comentarii despre review:');
define('_YOURNICK', 'Numele de utilizator al Dvs.:');
define('_RCREATEACCOUNT', '<a href="' . getlink("Your_Account") . '">Creaţi</a> un cont');
define('_YOURCOMMENT', 'Comentariul Dvs.:');
define('_MYSCORE', 'Punctajul meu:');
define('_REVIEWMOD', 'Modificare review');
define('_RDATE', 'Data:');
define('_RTITLE', 'Titlu:');
define('_RTEXT', 'Text:');
define('_REVEMAIL', 'E-mail:');
define('_RLINK', 'Link:');
define('_RLINKTITLE', 'Titlul linkului:');
define('_COVERIMAGE', 'Imaginea de pe copertă:');
define('_PREMODS', 'Modificările anterioare');
define('_PAGE', 'Pagina');
define('_PAGEBREAK', 'Dacă doriţi mai multe pagini puteţi scrie <b>&lt;!--pagebreak--&gt;</b> acolo unde doriţi să împarţiţi pagina.');
define('_PREVIEW', 'Previzualizare');
define('_LANGUAGE', 'Limba');
Example #17
0
define('_DCATNEWTODAY', 'Descargas nuevas en esta categoría añadidas hoy');
define('_DCATLAST3DAYS', 'Descargas nuevas en esta categoría añadidas en los últimos 3 días');
define('_DCATTHISWEEK', 'Descargas nuevas en esta categoría añadidas este semana');
define('_DDATE1', 'Fecha (Desacargas antiguas mostradas primero)');
define('_DDATE2', 'Fecha (Descargas nuevas mostradas primero)');
define('_DOWNLOADS', 'Descargas');
define('_DOWNLOADPROFILE', 'Perfil de descarga');
define('_DOWNLOADRATINGDET', 'Detalles de la valoración del enlace');
define('_EDITTHISDOWNLOAD', 'Editar esta descarga');
define('_DOWNLOADRATING', 'Valoración de la descarga');
define('_DOWNLOADVOTE', '¡Vota!');
define('_DONLYREGUSERSMODIFY', 'Solo los usuarios registrados pueden sugerir modificaciones de descargas. Por favor <a href="' . getlink("Your_Account") . '">regístrate o logéate</a>.');
define('_REQUESTDOWNLOADMOD', 'Pedir la modificación de la descarga');
define('_DOWNLOADID', 'ID de la Descarga');
define('_DLETSDECIDE', 'Valoraciones de usuarios como tú ayudan a otros visitantes a decidir mejor que descargarse.');
define('_DRATENOTE4', 'Puedes ver una lista de <a href="' . getlink("Downloads&amp;d_op=TopRated") . '">los recursos mejor valorados</a>.');
define('_POPULAR', 'Popular');
define('_TOPRATED', 'Mejores valorados');
define('_ADDITIONALDET', 'Detalles adicionales');
define('_EDITORREVIEW', 'Reseña del editor');
define('_REPORTBROKEN', 'Informar de un enlace roto');
define('_AND', 'y');
define('_INDB', 'en nuestra base de datos');
define('_INSTRUCTIONS', 'Instrucciones');
define('_USERANDIP', 'El nombre de usuario y el IP serán registrados, así que por favor no abuses del sistema.');
define('_LDESCRIPTION', 'Descripción: (255 caracteres max.)');
define('_CHECKFORIT', 'No has escrito un E-Mail. De todas maneras, revisaremos tu enlace pronto.');
define('_LASTWEEK', 'Ultima Semana');
define('_LAST30DAYS', 'Ultimos 30 días');
define('_1WEEK', '1 Semana');
define('_2WEEKS', '2 Semanas');
Example #18
0
define('_WLP_HTMLCODE3', 'Kasutades seda vormi, lased sa kasutajatel hinnata oma linki otse oma lehelt ja hinded salvestatakse siia. Alljärgnev lähtekood töötab, kui sa lihtsalt kopeerid ja lisad selle oma veebilehele. Selline näeb siis välja lähtekood:');
define('_WLP_PROMOTE05', 'Täname! ja edu sulle sinu hindamisel!');
define('_WLP_THANKSBROKEN', 'Täname sind, et aitad elus hoida selle kataloogi terviklikkust.');
define('_WLP_THANKSFORINFO', 'Täname informatsiooni eest.');
define('_WLP_LOOKTOREQUEST', 'Me vaatame sinu taotlust lühidalt.');
define('_WLP_ONLYREGUSERSMODIFY', 'Ainult registreeritud kasutajad võivad soovitada linkide muudatusi. Palun <a href="' . getlink("Your_Account") . '">registreeri või logi sisse</a>.');
define('_WLP_REQUESTLINKMOD', 'Lingi muudatuse taotlus');
define('_WLP_LINKID', 'Lingi ID');
define('_WLP_SENDREQUEST', 'Saada taotlus');
define('_WLP_THANKSTOTAKETIME', 'Tänan sind, et sa leidsid aega hääletada selle lehe poolt');
define('_WLP_LETSDECIDE', 'Sellised kasutajad, nagu sina, aitavad teistele külastajatele paremini otsustada millisele lingile klikkida.');
define('_WLP_RETURNTO', 'Tagasi');
define('_WLP_RATENOTE1', 'Palun ära hinda sama linki rohkem kui üks kord.');
define('_WLP_RATENOTE2', 'Hindeid saab anda 1 - 10. 1 on väga halb ja 10 on väga hea.');
define('_WLP_RATENOTE3', 'Palun ole objektiivne oma hindega, kui kõik hindavad  1 või 10, siis hinded pole eriti kasulikud.');
define('_WLP_RATENOTE4', 'Sa võid näha nimekirja <a href="' . getlink("&amp;l_op=TopRated") . '">Enim hinnatud lingid</a>.');
define('_WLP_RATENOTE5', 'ära hinda oma linki või võistlejat.');
define('_WLP_YOUAREREGGED', 'Sa oled registreeritud kasutaja ja oled sisse loginud.');
define('_WLP_FEELFREE2ADD', 'Võid vabalt lisada kommentaare selle lehe kohta.');
define('_WLP_YOUARENOTREGGED', 'Sa ei ole registreeritud kasutaja või sa ei ole sisse loginud.');
define('_WLP_IFYOUWEREREG', 'Kui sa olid registreeritud, siis võid sa postitada kommentaare sellel veebilehel.');
define('_WLP_MODIFY', 'Muuda');
define('_WLP_COMPLETEVOTE1', 'Sinu hinnang on lisatud.');
define('_WLP_COMPLETEVOTE2', 'Sa oled juba hinnanud seda linki viimase %d päeva (de) jooksul.');
define('_WLP_COMPLETEVOTE3', 'Hääleta selle lingi poolt ainul kord.<br />Kõik hinnangud on logitud ja arvutatud.');
define('_WLP_COMPLETEVOTE4', 'Sa ei saa hindeid anda oma saadetud lingi poolt.<br />Kõik hinnangud on logitud ja arvutatud.');
define('_WLP_COMPLETEVOTE5', 'Hinnangut ei ole valitud - häält ei ole talletatud');
define('_WLP_COMPLETEVOTE6', 'Ainult üks hinnag IP addressi kohta on lubatud iga %d päeva järel.');
define('_WLP_STAFF', 'Portaali ' . $sitename . ' personaal');
define('_WLP_VOTE', 'Hääl');
define('_WLP_VOTES', 'Hääled');
Example #19
0
define("_THRESHOLD", "Threshold");
define("_NOCOMMENTS", "No Comments");
define("_NESTED", "Nested");
define("_FLAT", "Flat");
define("_THREAD", "Thread");
define("_OLDEST", "Oldest First");
define("_NEWEST", "Newest First");
define("_HIGHEST", "Highest Scores First");
define("_COMMENTSWARNING", "The comments are owned by the poster. We aren't responsible for their content.");
define("_SCORE", "Score:");
define("_USERINFO", "User Info");
define("_READREST", "Read the rest of this comment...");
define("_REPLY", "Reply to This");
define("_REPLYMAIN", "Post Comment");
define("_NOSUBJECT", "No Subject");
define("_NOANONCOMMENTS", "No Comments Allowed for Anonymous, please <a href=\"" . getlink("Your_Account&amp;op=new_user") . "\">register</a>");
define("_PARENT", "Parent");
define("_ROOT", "Root");
define("_UCOMMENT", "Comment");
define("_ALLOWEDHTML", "Allowed HTML:");
define("_POSTANON", "Post Anonymously");
define("_EXTRANS", "Extrans (html tags to text)");
define("_HTMLFORMATED", "HTML Formated");
define("_PLAINTEXT", "Plain Old Text");
define("_ONN", "on...");
define("_SUBJECT", "Subject");
define("_COMMENTREPLY", "Comment Post");
define("_COMREPLYPRE", "Comment Post Preview");
define("_NOTRIGHT", "Something is not right with passing a variable to this function. This message is just to keep things from messing up down the road");
define("_SENDAMSG", "Send a Message");
define("_YOUSENDSTORY", "You will send the story");
Example #20
0
define('_DCATNEWTODAY', 'New Downloads in this Category Added Today');
define('_DCATLAST3DAYS', 'New Downloads in this Category Added in the last 3 days');
define('_DCATTHISWEEK', 'New Downloads in this Category Added this week');
define('_DDATE1', 'Date (Old Downloads Listed First)');
define('_DDATE2', 'Date (New Downloads Listed First)');
define('_DOWNLOADS', 'تحميل');
define('_DOWNLOADPROFILE', 'معلومات البرنامج');
define('_DOWNLOADRATINGDET', 'تفاصيل تقييم البرنامج');
define('_EDITTHISDOWNLOAD', 'تعديل هذا البرنامج');
define('_DOWNLOADRATING', 'تقييم البرامج');
define('_DOWNLOADVOTE', 'تصويت!');
define('_DONLYREGUSERSMODIFY', 'Only registered users can suggest downloads modifications. Please <a href="' . getlink("Your_Account") . '">register or login</a>.');
define('_REQUESTDOWNLOADMOD', 'طلب تعديل برنامج');
define('_DOWNLOADID', 'رقم البرنامج');
define('_DLETSDECIDE', 'Input from users such as yourself will help other visitors better decide which downloads to click on.');
define('_DRATENOTE4', 'You can view a list of the <a href="' . getlink("Downloads&amp;d_op=TopRated") . '">Top Rated Resources</a>.');
define('_POPULAR', 'مشهور');
define('_TOPRATED', 'أفضل تقييم');
define('_ADDITIONALDET', 'تفاصيل اضافية');
define('_EDITORREVIEW', 'مراجعة الكاتب');
define('_REPORTBROKEN', 'أخبرنا عن وصلة لا تعمل');
define('_AND', 'و');
define('_INDB', 'في قاعدة البيانات');
define('_INSTRUCTIONS', 'تعليمات');
define('_USERANDIP', 'يتم تسجيل اسم المستخدم وعنوان الأي بي فنرجوا عدم أساءة استعمال البرنامج.');
define('_LDESCRIPTION', 'وصف: (حد أقص 255 حرف)');
define('_CHECKFORIT', 'لم تكتب بريدك الإلكتروني. سنقوم بمراجعة البرنامج على أية حال.');
define('_LASTWEEK', 'الأسبوع الماضي');
define('_LAST30DAYS', 'أخر 30 يوما');
define('_1WEEK', 'أسبوع');
define('_2WEEKS', 'أسبوعان');
Example #21
0
     } elseif (!$item['active']) {
         /*hidcontent*/
         $catcontent .= $tmpcontent;
     } else {
         $catcontent .= $tmpcontent;
     }
     $cattitle = $item['name'];
     $catlnk = $item['catlnk'];
     $cattype = $item['cattype'];
     $thiscat = $item['category'];
     $firstincategory = 0;
 }
 $cattitle = defined($cattitle) ? constant($cattitle) : $cattitle;
 if (!empty($catlnk) || $mainindex == '' && $cattitle == _HOME) {
     if ($cattype <= 0) {
         $catlnk = getlink($catlnk);
     } elseif ($cattype == 2) {
         $catlnk .= '" target="_blank';
     }
     $cattitlel = defined('ADMIN_PAGES') ? '<a href="' . $catlnk . '">' . $cattitle . '</a>' : '<a href="' . $catlnk . '">' . $cattitle . '</a>';
 } else {
     $cattitlel = defined('ADMIN_PAGES') ? '<a>' . $cattitle . '</a>' : '<a>' . $cattitle . '</a>';
 }
 $iscurrentcat = $thiscat === $curcat && !defined('ADMIN_PAGES') ? ' class="currentcategory"' : (defined('ADMIN_PAGES') ? ' class="normal"' : '');
 /* $swctgry = $proov[$curcat];*/
 if ($thiscat === $curcat) {
     $swctgry['listing'] = $proov[$curcat];
     $swctgry['cat_name'] = $cattitle ? $cattitle : _NONE;
     $swctgry['cat_link'] = $catlnk;
 }
 if ($ccat >= 0) {
// 更新配置以及配置文件
if ($_POST['action'] == 'updatesetting') {
    //$DB->query("TRUNCATE TABLE {$db_prefix}settings");
    foreach ($_POST['setting'] as $key => $val) {
        $DB->query("REPLACE INTO {$db_prefix}settings VALUES ('" . sax_addslashes($key) . "', '" . sax_addslashes($val) . "')");
    }
    if ($oldaction == 'all' || $oldaction == 'display') {
        newarticles_recache();
        archives_recache();
        hottags_recache();
    }
    if ($oldaction == 'all' || $oldaction == 'comment') {
        newcomments_recache();
    }
    settings_recache();
    $location = getlink('configurate', $oldaction, array('message' => 1));
    header("Location: {$location}");
    exit;
}
//end update
$query = $DB->query("SELECT * FROM {$db_prefix}settings");
while ($setting = $DB->fetch_array($query)) {
    $settings[$setting['title']] = htmlspecialchars($setting['value']);
}
ifchecked($settings['show_calendar'], 'show_calendar');
ifchecked($settings['show_statistics'], 'show_statistics');
ifchecked($settings['show_debug'], 'show_debug');
ifchecked($settings['show_n_p_title'], 'show_n_p_title');
ifchecked($settings['rss_all_output'], 'rss_all_output');
ifchecked($settings['close_comment'], 'close_comment');
ifchecked($settings['audit_comment'], 'audit_comment');
Example #23
0
define('_THRESHOLD', 'ที่คะแนน');
define('_NOCOMMENTS', 'ไม่มีความเห็น');
define('_NESTED', 'เลือก');
define('_FLAT', 'แสดงแนวตรง');
define('_THREAD', 'แสดงตามระดับ');
define('_OLDEST', 'เก่าก่อน');
define('_NEWEST', 'ใหม่ก่อน');
define('_HIGHEST', 'เรียงตามคะแนนสูงก่อน');
define('_COMMENTSWARNING', 'ความคิดเห็นที่แสดงนี้เป็นของเป็นของผู้ลงประกาศ. ทางเว็บไซต์ ไม่ขอรับผิดชอบในเนื้อหาเหล่านี้.');
define('_SCORE', 'คะแนน:');
define('_USERINFO', 'ข้อมูลผู้ใช้');
define('_READREST', 'อ่านความเห็นต่อ...');
define('_REPLY', 'ตอบกลับ');
define('_REPLYMAIN', 'ร่วมวิจารณ์');
define('_NOSUBJECT', 'ยังไม่มีชื่อเรื่อง');
define('_NOANONCOMMENTS', 'ผู้ไม่ลงทะเบียน ไม่มีสิทธิ์แสดงความเห็น , โปรด <a href="' . getlink("Your_Account") . '">ลงทะเบียน</a>');
define('_PARENT', 'หัวข้อ');
define('_ROOT', 'Root');
define('_UCOMMENT', 'ความเห็น');
define('_ALLOWEDHTML', ' HTML ที่สามารถใช้ได้:');
define('_POSTANON', 'บันทึก โดยไม่ประสงค์ออกนาม');
define('_EXTRANS', 'Extrans (เปลี่ยน html tags เป็นอักษรธรรมดา)');
define('_HTMLFORMATED', 'บันทึกเป็น HTML');
define('_PLAINTEXT', 'ข้อมูลปกติ');
define('_ONN', 'เมื่อ...');
define('_COMMENTREPLY', 'ความเห็นต่อข้อความนี้');
define('_COMREPLYPRE', 'แสดงความเห็นที่จะถูกส่งไปประกาศ');
define('_NOTRIGHT', 'มีบางสิ่งบางอย่างผิดปรกติ ในการส่งค่าภายในโปรแกรม');
define('_SENDAMSG', 'ส่งข้อมูลออกไป');
define('_YOUSENDSTORY', 'คุณกำลังส่งเรื่องดังกล่าว');
define('_TOAFRIEND', 'ไปยังเพื่อนที่ระบุ:');
Example #24
0
define('_MODIFICATION', 'modificación');
define('_ISAVAILABLE', 'Ya está disponible en la Base de datos de Análisis.');
define('_EDITORWILLLOOK', 'Los Editores comprobarán tu Envío. ¡Posiblemente esté disponible pronto!');
define('_RBACK', 'Volver al Índice de Análisis');
define('_RWELCOME', 'Bienvenido a la Sección de Análisis');
define('_10MOSTPOP', '10 análisis más leídos');
define('_10MOSTREC', '10 análisis más recientes');
define('_THEREARE', 'Hay');
define('_REVIEWSINDB', 'Análisis en la Base de Datos');
define('_REVIEWSLETTER', 'Análisis por la letra');
define('_NOREVIEWS', 'No hay ningún Análisis por la letra');
define('_TOTALREVIEWS', 'Análisis totales encontrados.');
define('_RETURN2MAIN', 'Volver al Menú Principal');
define('_REVIEWCOMMENT', 'Comentarios sobre el Análisis:');
define('_YOURNICK', 'Tu Apodo:');
define('_RCREATEACCOUNT', '<a href="' . getlink("Your_Account") . '">Crear</a> una cuenta');
define('_YOURCOMMENT', 'Tu Comentario:');
define('_MYSCORE', 'Mi Puntuación:');
define('_REVIEWMOD', 'Modificación del análisis');
define('_RDATE', 'Fecha:');
define('_RTITLE', 'Título:');
define('_RTEXT', 'Texto:');
define('_REVEMAIL', 'Correo:');
define('_RLINK', 'Enlace:');
define('_RLINKTITLE', 'Título del Enlace:');
define('_COVERIMAGE', 'Imagen de Portada:');
define('_PREMODS', 'Vista Previa de las Modificaciones');
define('_PAGE', 'página(s) ');
define('NO_GET', 'Por favor utiliza nuestro formulario, ya que ninguna petición GET es permitida');
/**************************
  ADMNINISTRATION SECTION
Example #25
0
//security admin
define('_SECURITY', 'Security');
define('_PROTECTION', 'Protection');
define('_EMAIL_DOMAINS', 'E-Mail Domains');
define('_FLOODING', 'Flooding');
define('_UUA', 'Unknown User-Agents');
define('_FLOODING_TIP', 'Flooding: Delay<br /><em>timing between each warning</em>');
define('_BAN_TIP', 'Flooding: Ban Duration<br /><em>how long the ban will last for</em>');
define('_AUTO_UNBAN_TIP', 'Flooding: Auto Unban<br /><em>clean ban after duration time expires</em>');
define('_FOREVER', 'forever');
define('_REMOVE_SELECTED', 'Remove selected');
//errors for cpg_error
define('_ERROR', 'HIBA');
define('_SEC_ERROR', 'Biztonsági hiba');
define('_ERROR_NOT_SET', '%s nincs beállítva');
define('_ERROR_NO_POST', 'Posting from another host is disallowed...');
define('_ERROR_NO_GET', 'A GET kérés ehhez a funkcióhoz nem megengedett...');
define('_ERROR_BAD_CHAR', 'The characters that you tried to include in your %s request are forbidden...');
define('_ERROR_BAD_FORMAT', 'The %s format is not valid.');
define('_ERROR_BAD_LINK', 'Rossz linken keresztül próbáltál a weboldalhoz hozzáférni...');
define('_ERROR_NONE_TO_DISPLAY', 'Nincs megjelenitendő %s');
define('_ERROR_DELETE_CONFBiztos hogy törölni akarod: %s?');
define('_ERROR_NO_EXIST', '%s nem létezik');
define('_ERROR_ALREADYEXIST', '%s már létezik');
define('_TASK_COMPLETED', 'Művelet végrehajtva!');
define('_CONFIRM', 'Confirm');
define('_FOOTER_COPYRIGHTS', 'Interactive software released under <a href="http://dragonflycms.org/GNUGPL.html" target="_blank" title="GNU Public License Agreement">GNU GPL</a>,	<a href="' . getlink('credits') . '">Code Credits</a>,	<a href="' . getlink('privacy_policy') . '">Privacy Policy</a>');
# time
$LNG = array('_time' => array('l' => array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'), 'D' => array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'), 'F' => array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'), 'M' => array(1 => 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')));
$LNG['_time']['l'][7] =& $LNG['_time']['l'][0];
$LNG['_time']['D'][7] =& $LNG['_time']['D'][0];
Example #26
0
define('_LAST10COMMENT', 'Last 10 Comments');
define('_LAST10DOWNLOAD', 'Last 10 Downloads');
define('_LAST10DOWNLOADS', 'Last 10 Downloads by');
define('_LAST10SUBMISSION', 'Last 10 News Submissions');
define('_LAST10WEBLINK', 'Last 10 Web Links');
define('_LAST10WEBLINKS', 'Last 10 Web Links by');
define('_MEMBERGROUPS', 'Group Memberships');
define('_AVATAR', 'Avatar');
define('_WEBSITE', 'Web страна');
define('_USERSTATUS', 'Кориснички статус');
define('_ONLINE', 'Присутен');
define('_OFFLINE', 'Отсатен');
define('_NOTSUBSCRIBED', 'Не си пријавен за нашиот весник');
define('_SUBSCRIBED', 'Пријавен си за нашиот весник');
define('_MA_BROADCAST', 'Broadcast Public Message');
define('_BROADCASTTEXT', 'You can send a <i>Public Message</i> from here (255 characters max). This message will be displayed to all online users in the next 10 minutes. Any user online will see you message just once in a red bar under the site\'s logo. Any user can deactivate this feature from <a href="' . getlink("Your_Account&amp;op=edithome") . '">here</a>. Please don\'t abuse. HTML code isn\'t allowed here.');
define('_BROADCASTSENT', 'Your Broadcast Message has been sent.');
define('_BROADCASTNOTSENT', '<b>ERROR:</b> Your Broadcast Message is empty or you already sent a message recently. To publish another message you need to wait about 10 minutes.');
define('_RETURNPAGE', 'Return to your personal page');
define('_MA_MYHEADLINES', 'My Headlines');
define('_SELECTASITE', 'Select the site from which you want to read headlines:');
define('_SELECTASITE2', 'Select a Web Site');
define('_ORTYPEURL', 'Or type the url of your prefered RSS/XML headlines site:');
define('_MA_GO', 'Go');
define('_HEADLINESFROM', 'Headlines from');
define('_MA_READMYJOURNAL', 'Read My Blog');
define('_ACCDELETED', 'Account has been Deleted');
define('_SERVERNOMAIL', 'This server does not have mail access. Please contact the site admin for assistance.');
define('_ACCSUSPENDED', 'Account has been Suspended');
define('_BESUREACT', 'Be sure that you have activated your account');
define('_MEMDEL', 'Member Deleted');
Example #27
0
define('_DCATNEWTODAY', 'Nye downloads i denne kategori oprettet i dag');
define('_DCATLAST3DAYS', 'Nye downloads i denne kategori oprettet indenfor de sidste tre dage');
define('_DCATTHISWEEK', 'Nye downloads i denne kategori oprettet i denne uge');
define('_DDATE1', 'Dato (Gamle downloads først)');
define('_DDATE2', 'Dato (Nye downloads først)');
define('_DOWNLOADS', 'Downloads');
define('_DOWNLOADPROFILE', 'Downloadprofil');
define('_DOWNLOADRATINGDET', 'Oplysninger om vurdering af download');
define('_EDITTHISDOWNLOAD', 'Rediger denne download');
define('_DOWNLOADRATING', 'Download vurderinger');
define('_DOWNLOADVOTE', 'Stem!');
define('_DONLYREGUSERSMODIFY', 'Kun oprettet brugere kan foreslå ændring til Downloads. Venligst <a href="' . getlink("Your_Account") . '">registrer dig eller log ind</a>.');
define('_REQUESTDOWNLOADMOD', 'Foreslå ændring af downloads');
define('_DOWNLOADID', 'Download ID');
define('_DLETSDECIDE', 'Tilbagemeldinger fra brugere som dig selv, hjælper andre brugere til at beslutte hvad de skal downloade.');
define('_DRATENOTE4', 'Du kan se en liste med de <a href="' . getlink("Downloads&amp;d_op=TopRated") . '">Bedst Vurderede downloads</a>.');
define('_POPULAR', 'Populære');
define('_TOPRATED', 'Bedste');
define('_ADDITIONALDET', 'Yderligere oplysninger');
define('_EDITORREVIEW', 'Anmeldelse');
define('_REPORTBROKEN', 'Anmeld et ødelagt link');
define('_AND', 'og');
define('_INDB', 'i vores database');
define('_INSTRUCTIONS', 'Vejledning');
define('_USERANDIP', 'Brugernavn og IP-adresse bliver registreret, så vær venlig ikke at misbruge systemet.');
define('_LDESCRIPTION', 'Beskrivelse: (maks 255 tegn)');
define('_CHECKFORIT', 'Du skrev ikke en e-mail-adresse. Vi vil alligevel gennemse dit forslag snarest.');
define('_LASTWEEK', 'Sidste uge');
define('_LAST30DAYS', 'Sidste 30 dage');
define('_1WEEK', '1 uge');
define('_2WEEKS', '2 uger');
Example #28
0
define('_DCATNEWTODAY', 'Bu Katégoriyege Bügün Qoshulghan Yéngi Yükler');
define('_DCATLAST3DAYS', 'Bu Katégoriyege aldinqi üch künde Qoshulghan Yükler ');
define('_DCATTHISWEEK', 'Bu Katégoriyege mushu heptide Qoshulghan Yükler ');
define('_DDATE1', 'Waqit (Konini Awwal)');
define('_DDATE2', 'Waqit (Yéngini Awwal)');
define('_DOWNLOADS', 'Yükler');
define('_DOWNLOADPROFILE', 'Yük Profili');
define('_DOWNLOADRATINGDET', 'Nomur Bérish Détalliri ');
define('_EDITTHISDOWNLOAD', 'Edit This Download');
define('_DOWNLOADRATING', 'Yüklerni Tehrirlesh ');
define('_DOWNLOADVOTE', 'Awaz Bérish!');
define('_DONLYREGUSERSMODIFY', 'Peqet tizimlatqan qollanchila özgertish teklipi béreleydu. <a href="' . getlink("Your_Account") . '">Awwal tizimliting yaki kiring/loggin </a>.');
define('_REQUESTDOWNLOADMOD', 'Yük Özgertish Teklipi');
define('_DOWNLOADID', 'Yük ID');
define('_DLETSDECIDE', 'Bashqilarning qaysi yüklerni chékishini belgilishige yardem qilish üchün uchurlarni kirgüzüng.');
define('_DRATENOTE4', 'Bu yerdin siz <a href="' . getlink("Downloads&amp;d_op=TopRated") . '">Eng yuquri bahalan\'ghan yükler </a> tizimini köreleysiz.');
define('_POPULAR', 'Ammabap');
define('_TOPRATED', 'Yuquri Bahalan\'ghan ');
define('_ADDITIONALDET', 'Qoshumche Détallar ');
define('_EDITORREVIEW', 'Tehrir Teklipi');
define('_REPORTBROKEN', 'Üzülgen Ulanma Dokilati ');
define('_AND', 'we');
define('_INDB', 'sanliq ambirimizda');
define('_INSTRUCTIONS', 'Körsetmiler');
define('_USERANDIP', 'Qollanchi nami we IP adrési xatérlendi, bu sistémini qalaymiqan ishletmeng.');
define('_LDESCRIPTION', 'Chüshendürlishi: (maksimum 255 herp)');
define('_CHECKFORIT', 'E-mail adrési yazmapsiz, biraq biz yollighan höjjitingizni pat arida tekshürimiz.');
define('_LASTWEEK', 'Ötken Hepte');
define('_LAST30DAYS', 'Ötken 30 Kün');
define('_1WEEK', '1 Hepte');
define('_2WEEKS', '2 Hepte');
Example #29
0
define('_DLP_RQR', '%s on nõutud');
define('_DLP_INACTIVEDL', 'Fail ei ole aktiivne');
define('_DLP_UNKNOWNDL', 'Faili ei leitud');
define('_DLP_DLFORBIDDEN', 'Sul ei ole lubatud seda faili allalaadida');
define('_DLP_FILEINLIST', 'URL/näidispilt mida sa püüdsid lisada, on juba su nimekirjas');
define('_DLP_FILEEXISTS', 'URL/näidispilt mida sa püüdsid lisada, on olemas juba teises failis');
define('_DLP_FILEASSOC', 'URL/näidispilt mida sa püüdsid lisada on juba olemas ja on seotud <a href="%s">selle</a> failiga');
define('_DLP_FAIL2GETINFO', 'Faili %s informatsiooni saamine ebõnnestus');
define('_DLP_INVALIDFNAME', '%s ei ole sobiv failinimi');
define('_DLP_ISWEBSITE', '%s on veebileht mitte õige fail');
define('_DLP_FILETOOBIG', 'Failisuurus on suurem kui lubatud: %s');
define('_DLP_FILETOOSMALL', 'Failisuurus on liiga väike');
define('_DLP_EXTFORBIDDEN', 'Laiend ei ole lubatud');
define('_DLP_FILEERROR', 'Sinu faili/näidispildi läbivaatamisel tekkis viga');
define('_DLP_INVALIDFILE', 'Ebasobiv fail/pilt');
define('_DLP_REGISTER2DL', 'Sa pead olema <a href="' . getlink('Your_Account') . '">registreeritud</a> liige et allalaadida seda faili');
define('_DLP_ADMINDL', 'See fail on kättesaadav ainult administraatoritele');
define('_DLP_GROUPDL', 'See fail on kättesaadav ainult neile, kes on grupis %s');
// Menu
define('_DLP_RANDOM', 'Suvaline');
define('_DLP_HISTORY', 'Ajalugu');
define('_DLP_PROMOTE', 'Edenda');
define('_DLP_WRITEREVIEW', 'Kirjuta ülevaade');
define('_DLP_MYDL', 'Minu failid');
// Admin menu
define('_DLP_CONFIG', 'Seadistus');
define('_DLP_CFIELDS', 'Lisaväljad');
define('_DLP_PENDDL', 'Ootel failid');
define('_DLP_PENDMIR', 'Ootel failide asukohad');
define('_DLP_BRMIR', 'Katkised failide asukohad');
// broken mirrors
Example #30
0
define('_HTMLCODE3', 'Usando desta forma permite que os usuários avaliem o conteúdo da sua página direto do seu site e esta avaliação será armazenada aqui. A forma acima é inválida, mas o código fonte seguinte funciona basta que você copie e cole na sua home-page. O código fonte é mostrado abaixo:');
define('_PROMOTE05', 'Obrigado! E boa sorte com suas avaliações!');
define('_THANKSBROKEN', 'Obrigado por manter a integridade deste diretório.');
define('_THANKSFORINFO', 'Obrigado pela Informação.');
define('_LOOKTOREQUEST', 'Nossa equipe olhará em breve seu pedido.');
define('_ONLYREGUSERSMODIFY', 'Somente usuários registrado podem sugerir modificações nos arquivos para Download. Por favor <a href="' . getlink("Your_Account") . '">Registre-se ou efetue seu login</a>.');
define('_REQUESTLINKMOD', 'Pedido para Modificação de Link');
define('_LINKID', 'Link ID');
define('_SENDREQUEST', 'Enviar Pedido');
define('_THANKSTOTAKETIME', 'Obrigado por usar seu tempo para avaliar um site aqui a');
define('_LETSDECIDE', 'Avaliação de usuários como você ajudará para que outros visitantes decidam quais links eles desejam visitar em.');
define('_RETURNTO', 'Voltar para');
define('_RATENOTE1', 'Por favor não vote por mais de uma vez na mesma avaliação.');
define('_RATENOTE2', 'A escala vai de 1 - 10, sendo 1 para ruim e 10 para excelente.');
define('_RATENOTE3', 'Por favor seja objetivo no seu voto, pois se todo mundo receber somente 1 ou somente 10, as avaliações não serão úteis.');
define('_RATENOTE4', 'Você pode ver uma lista de <a href="' . getlink('Web_Links&amp;l_op=TopRated') . '">Top do Links Avaliados</a>.');
define('_RATENOTE5', 'Não vote em você mesmo ou em qualquer um.');
define('_YOUAREREGGED', 'Você é um usuário registrado e está conectado em.');
define('_FEELFREE2ADD', 'Sinta-se a vontade para adicionar comentários a este site.');
define('_YOUARENOTREGGED', 'Você não é um usuário registrado ou não efetuou sue login.');
define('_IFYOUWEREREG', 'Se você fosse um usuário registrado poderia enviar vários comentários a este site.');
define('_MODIFY', 'Modificar');
define('_COMPLETEVOTE1', 'Seu voto é apreciado.');
define('_COMPLETEVOTE2', 'Você já votou neste Link no(s) último(s) ' . $anonwaitdays . ' dia(s).');
define('_COMPLETEVOTE3', 'Vete em um Link apenas uma vez.<br>TODOS os votos são logados e revistos.');
define('_COMPLETEVOTE4', 'Você não pode votar em um Link que você mesmo enviou!<br>TODOS os votos são logados e revistos.');
define('_COMPLETEVOTE5', 'Nenhuma pontuação selecionada - nenhum voto computado!');
define('_COMPLETEVOTE6', 'É permitido apenas UM voto por endereço de IP a cada ' . $outsidewaitdays . ' dia(s).');
/**************************
  ADMNINISTRATION SECTION
**************************/