Version 2.2.0 RC-1
This commit is contained in:
1 parent
f73f8bff6d
commit
22f1b963ee
1034 files changed
+178610
-70897
No files matched your search
@@ -2,26 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.1.7
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Tuesday 18th of July 2006 05:56:00 PM
|
||||
| Release: 52f408a29988b02f45b5e6f4ba5af0ae
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
|
||||
| > $Revision: 23 $
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -37,7 +28,7 @@
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Íåâåðíûé âõîä</h1> Ó Âàñ íåò äîñòóïà ê äèðåêòèâå ýòîãî ôàéëà. Åñëè Âû ïðîâîäèëè îáíîâëåíèÿ, óáåäèòåñü, ÷òî íå çàáûëè îáíîâèòü 'admin.php'.";
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -61,16 +52,7 @@ class ad_warnlogs {
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
$this->ipsclass->admin->nav[] = array( $this->ipsclass->form_code, 'Warn Logs' );
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -115,7 +97,7 @@ class ad_warnlogs {
|
||||
{
|
||||
if ($this->ipsclass->input['id'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî ïîëó÷èòü ID email, ïîïðîáóéòå ñíîâà");
|
||||
$this->ipsclass->admin->error("Could not resolve the email ID, please try again");
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -136,7 +118,7 @@ class ad_warnlogs {
|
||||
|
||||
if ( ! $row = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî ïîëó÷èòü ID email, ïîïðîáóéòå ñíîâà ($id)");
|
||||
$this->ipsclass->admin->error("Could not resolve the email ID, please try again ($id)");
|
||||
}
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "100%" );
|
||||
@@ -155,9 +137,9 @@ class ad_warnlogs {
|
||||
$text = $this->parser->pre_display_parse( $this->parser->pre_db_parse($cont[1]) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array(
|
||||
"<strong>Îò:</strong> {$row['p_name']}
|
||||
<br /><strong>Êîìó:</strong> {$row['a_name']}
|
||||
<br /><strong>Îòïðàâëåíî:</strong> {$row['date']}
|
||||
"<strong>From:</strong> {$row['p_name']}
|
||||
<br /><strong>To:</strong> {$row['a_name']}
|
||||
<br /><strong>Sent:</strong> {$row['date']}
|
||||
<hr>
|
||||
<br />$text
|
||||
"
|
||||
@@ -179,7 +161,7 @@ class ad_warnlogs {
|
||||
{
|
||||
if ($this->ipsclass->input['id'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî ïîëó÷èòü ID email, ïîïðîáóéòå ñíîâà");
|
||||
$this->ipsclass->admin->error("Could not resolve the email ID, please try again");
|
||||
}
|
||||
|
||||
$id = intval($this->ipsclass->input['id']);
|
||||
@@ -189,10 +171,10 @@ class ad_warnlogs {
|
||||
|
||||
if ( ! $row = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî ïîëó÷èòü ID email, ïîïðîáóéòå ñíîâà ($id)");
|
||||
$this->ipsclass->admin->error("Could not resolve the email ID, please try again ($id)");
|
||||
}
|
||||
|
||||
$type = $row['wlog_contact'] == 'pm' ? "Ëè÷íîå ñîîáùåíèå" : "EMAIL";
|
||||
$type = $row['wlog_contact'] == 'pm' ? "PM" : "EMAIL";
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "100%" );
|
||||
|
||||
@@ -206,10 +188,10 @@ class ad_warnlogs {
|
||||
$row['date'] = $this->ipsclass->admin->get_date( $row['wlog_date'], 'LONG' );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array(
|
||||
"<strong>Îò:</strong> {$row['p_name']}
|
||||
<br /><strong>Êîìó:</strong> {$row['a_name']}
|
||||
<br /><strong>Îòïðàâëåíî:</strong> {$row['date']}
|
||||
<br /><strong>Òåìà:</strong> $subj[1]
|
||||
"<strong>From:</strong> {$row['p_name']}
|
||||
<br /><strong>To:</strong> {$row['a_name']}
|
||||
<br /><strong>Sent:</strong> {$row['date']}
|
||||
<br /><strong>Subject:</strong> $subj[1]
|
||||
<hr>
|
||||
<br />$cont[1]
|
||||
"
|
||||
@@ -231,16 +213,16 @@ class ad_warnlogs {
|
||||
|
||||
function view()
|
||||
{
|
||||
$start = $this->ipsclass->input['st'] ? $this->ipsclass->input['st'] : 0;
|
||||
$start = intval($this->ipsclass->input['st']) >=0 ? intval($this->ipsclass->input['st']) : 0;
|
||||
|
||||
$this->ipsclass->html .= ""; // removed js popwin
|
||||
|
||||
$this->ipsclass->admin->page_detail = "Ïðîñìîòð âñåõ çàïèñåé ïðåäóïðåæäåíèé ïîëüçîâàòåëÿ";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå ëîãàìè ïðåäóïðåæäåíèé";
|
||||
$this->ipsclass->admin->page_detail = "Viewing all warn entries on a member";
|
||||
$this->ipsclass->admin->page_title = "Warn Logs Manager";
|
||||
|
||||
if ($this->ipsclass->input['search_string'] == "" and $this->ipsclass->input['mid'])
|
||||
{
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'COUNT(wlog_id) as count', 'from' => 'warn_logs', 'where' => "wlog_mid='".$this->ipsclass->input['mid']."'" ) );
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'COUNT(wlog_id) as count', 'from' => 'warn_logs', 'where' => "wlog_mid=".intval($this->ipsclass->input['mid']) ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
$row = $this->ipsclass->DB->fetch_row();
|
||||
@@ -249,7 +231,7 @@ class ad_warnlogs {
|
||||
|
||||
$query = "&{$this->ipsclass->form_code}&mid={$this->ipsclass->input['mid']}&code=view";
|
||||
|
||||
$this->ipsclass->DB->cache_add_query( 'warnlogs_view', array( 'mid' => $this->ipsclass->input['mid'], 'start' => $start ) );
|
||||
$this->ipsclass->DB->cache_add_query( 'warnlogs_view', array( 'mid' => intval($this->ipsclass->input['mid']), 'start' => $start ) );
|
||||
$this->ipsclass->DB->cache_exec_query();
|
||||
}
|
||||
else
|
||||
@@ -278,34 +260,34 @@ class ad_warnlogs {
|
||||
$this->ipsclass->DB->cache_exec_query();
|
||||
}
|
||||
|
||||
$links = $this->ipsclass->build_pagelinks( array( 'TOTAL_POSS' => $row_count,
|
||||
$links = $this->ipsclass->adskin->build_pagelinks( array( 'TOTAL_POSS' => $row_count,
|
||||
'PER_PAGE' => 30,
|
||||
'CUR_ST_VAL' => $start,
|
||||
'L_SINGLE' => "Îäíà ñòðàíèöà",
|
||||
'L_MULTI' => "Ñòðàíèöû: ",
|
||||
'L_SINGLE' => "Single Page",
|
||||
'L_MULTI' => "Pages: ",
|
||||
'BASE_URL' => $this->ipsclass->base_url.$query,
|
||||
)
|
||||
);
|
||||
|
||||
$this->ipsclass->admin->page_detail = "Âû ìîæåòå âèäåòü âñå çàïèñè ïðåäóïðæäåíèé, ñäåëàííûõ âàøèìè ìîäåðàòîðàìè";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå ëîãàìè ïðåäóïðåæäåíèé";
|
||||
$this->ipsclass->admin->page_detail = "You may view warn entries added by your moderators";
|
||||
$this->ipsclass->admin->page_title = "Warn Logs Manager";
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( "Òèï" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ïîëüçîâàòåëü" , "15%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ñîîáùåíî?" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ïðåäïðîâåðêà ñîîáùåíèé" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Áàí" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Çàïðåò ñîîáùåíèé" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Äàòà" , "15%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ìîäåðàòîð" , "15%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ïîñìîòðåòü çàìåòêè" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Type" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Member Name" , "15%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Contacted" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "MOD Q" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "SUSP" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "NO POST" , "10%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Date" , "15%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Warned By" , "15%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "View Note" , "10%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Ñîõðàíèòü ëîãè ïðåäóïðåæäåíèé" );
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic($links, 'right', 'pformstrip');
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Saved Warn Logs" );
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic($links, 'right', 'tablesubheader');
|
||||
|
||||
$days = array( 'd' => "Äíåé", 'h' => "÷àñîâ" );
|
||||
$days = array( 'd' => "Days", 'h' => "Hours" );
|
||||
|
||||
if ( $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
@@ -315,7 +297,7 @@ class ad_warnlogs {
|
||||
$row['wlog_date'] = $this->ipsclass->admin->get_date( $row['wlog_date'], 'LONG' );
|
||||
|
||||
$type = ( $row['wlog_type'] == 'pos' ) ? '<span style="color:green;font-weight:bold">-</span>' : '<span style="color:red;font-weight:bold">+</span>';
|
||||
$cont = ( $row['wlog_contact'] != 'none' ) ? "<center><a href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=viewcontact&id={$row['wlog_id']}\",\"Log\", 400,400)'>Ïðîñìîòð</a></center>" : 'Íåò';
|
||||
$cont = ( $row['wlog_contact'] != 'none' ) ? "<center><a href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=viewcontact&id={$row['wlog_id']}\",\"Log\", 400,400)'>View</a></center>" : ' ';
|
||||
|
||||
$mod = preg_match( "#<mod>(.+?)</mod>#is" , $row['wlog_notes'], $mm );
|
||||
$post = preg_match( "#<post>(.+?)</post>#is" , $row['wlog_notes'], $pm );
|
||||
@@ -332,11 +314,11 @@ class ad_warnlogs {
|
||||
|
||||
if ( $i == 1 )
|
||||
{
|
||||
$mod = 'Íå îïðåäåëåíî';
|
||||
$mod = 'INDEF';
|
||||
}
|
||||
else if ( $v == "" )
|
||||
{
|
||||
$mod = 'Íåò';
|
||||
$mod = 'None';
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -349,11 +331,11 @@ class ad_warnlogs {
|
||||
|
||||
if ( $i == 1 )
|
||||
{
|
||||
$post = 'Íå îïðåäåëåíî';
|
||||
$post = 'INDEF';
|
||||
}
|
||||
else if ( $v == "" )
|
||||
{
|
||||
$post = 'Íåò';
|
||||
$post = 'None';
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -364,7 +346,7 @@ class ad_warnlogs {
|
||||
|
||||
if ( $v == "" )
|
||||
{
|
||||
$susp = 'íåò';
|
||||
$susp = 'None';
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -382,16 +364,16 @@ class ad_warnlogs {
|
||||
$post,
|
||||
"{$row['wlog_date']}",
|
||||
"<b>{$row['p_name']}</b>",
|
||||
"<center><a href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=viewnote&id={$row['wlog_id']}\",\"Log\",400,400)'>Ïðîñìîòð</a></center>"
|
||||
"<center><a href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=viewnote&id={$row['wlog_id']}\",\"Log\",400,400)'>View</a></center>"
|
||||
) );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<center>Íåò çàïèñåé</center>");
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<center>No results</center>");
|
||||
}
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic($links, 'right', 'pformstrip');
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic($links, 'right', 'tablesubheader');
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
@@ -411,20 +393,17 @@ class ad_warnlogs {
|
||||
{
|
||||
if ($this->ipsclass->input['mid'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû íå âûáðàëè ïîëüçîâàòåëÿ, ÷òîáû óäàëèòü!");
|
||||
$this->ipsclass->admin->error("You did not select a member ID to remove by!");
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->simple_exec_query( array( 'delete' => 'warn_logs', 'where' => "wlog_mid={$this->ipsclass->input['mid']}" ) );
|
||||
$this->ipsclass->DB->simple_exec_query( array( 'delete' => 'warn_logs', 'where' => "wlog_mid=".intval($this->ipsclass->input['mid']) ) );
|
||||
|
||||
$this->ipsclass->admin->save_log("Ïðåäóïðåæäåíèå óäàëåíî");
|
||||
$this->ipsclass->admin->save_log("Removed Warn Logs");
|
||||
|
||||
$this->ipsclass->boink_it($this->ipsclass->base_url."&{$this->ipsclass->form_code}");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// SHOW LOGS
|
||||
//-----------------------------------------
|
||||
@@ -433,8 +412,8 @@ class ad_warnlogs {
|
||||
{
|
||||
$form_array = array();
|
||||
|
||||
$this->ipsclass->admin->page_detail = " ýòîé ñåêöèè âû ìîæåòå ïðîñìàòðèâàòü è óäàëÿòü ïðåäóïðåæäåíèÿ, ñäåëàííûå âàøèìè ìîäåðàòîðàìè.<br />Ïðèìå÷àíèå: Óäàëåíèå ëîãîâ íå ïîíèæàåò óðîâåíü ïðåäóïðåæäåíèé ïîëüçîâàòåëÿ.";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå ëîãàìè ïðåäóïðåæäåíèé";
|
||||
$this->ipsclass->admin->page_detail = "You may view and remove warn actions performed by your staff.<br />Note: Removing the logs does not decrease the member's warn level";
|
||||
$this->ipsclass->admin->page_title = "Warn Logs Manager";
|
||||
|
||||
$this->ipsclass->html .= ""; // removed js popwin
|
||||
|
||||
@@ -445,13 +424,13 @@ class ad_warnlogs {
|
||||
$this->ipsclass->DB->cache_add_query( 'warnlogs_list_current', array() );
|
||||
$this->ipsclass->DB->cache_exec_query();
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( "Òèï" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ïîëüçîâàòåëü" , "25%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ñîîáùåíî?" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Äàòà" , "25%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ìîäåðàòîð" , "25%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Type" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Warned Member" , "25%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Contacted?" , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Date" , "25%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Warned By" , "25%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Ïîñëåäíèå 10 çàïèñåé ïðåäóïðæäåíèé" );
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Last 10 Warn Entries" );
|
||||
|
||||
if ( $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
@@ -460,7 +439,7 @@ class ad_warnlogs {
|
||||
$row['wlog_date'] = $this->ipsclass->admin->get_date( $row['wlog_date'], 'LONG' );
|
||||
|
||||
$type = ( $row['wlog_type'] == 'pos' ) ? '<span style="color:green;font-weight:bold">-</span>' : '<span style="color:red;font-weight:bold">+</span>';
|
||||
$cont = ( $row['wlog_contact'] != 'none' ) ? "<center><a title='Ïîêàçàòü ñîîáùåíèÿ' href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=viewcontact&id={$row['wlog_id']}\",\"Log\",400,400)'><img src='{$this->ipsclass->skin_url}/images/acp_check.gif' border='0' alt='X'></a></center>" : 'Íåò';
|
||||
$cont = ( $row['wlog_contact'] != 'none' ) ? "<center><a title='Show message' href='javascript:pop_win(\"&{$this->ipsclass->form_code}&code=viewcontact&id={$row['wlog_id']}\",\"Log\",400,400)'><img src='{$this->ipsclass->skin_acp_url}/images/acp_check.gif' border='0' alt='X'></a></center>" : ' ';
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array(
|
||||
"<center>$type</center>",
|
||||
@@ -473,19 +452,19 @@ class ad_warnlogs {
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<center>Íåò çàïèñåé</center>");
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<center>No results</center>");
|
||||
}
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ïîëüçîâàòåëü" , "30%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Âðåìÿ ïðåäóïðåæäåíèÿ" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Ïðîñìîòð âñåõ ïðåäóïðåæäåíèé ïîëüçîâàòåëÿ" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Óäàëåíèå âñåõ ïðåäóïðåæäåíèé ïîëüçîâàòåëÿ" , "30%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Member Name" , "30%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Times Warned" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "View all by member" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Remove all by member" , "30%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Ëîãè ïðåäóïðåæäåíèé ñîõðàíåíû" );
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Saved Warn Logs" );
|
||||
|
||||
$this->ipsclass->DB->cache_add_query( 'warnlogs_list_current_two', array() );
|
||||
$this->ipsclass->DB->cache_exec_query();
|
||||
@@ -495,8 +474,8 @@ class ad_warnlogs {
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>{$r['members_display_name']}</b>",
|
||||
"<center>{$r['act_count']}</center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=view&mid={$r['wlog_mid']}'>Ïðîñìîòð</a></center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=remove&mid={$r['wlog_mid']}'>Óäàëèòü</a></center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=view&mid={$r['wlog_mid']}'>View</a></center>",
|
||||
"<center><a href='".$this->ipsclass->base_url."&{$this->ipsclass->form_code}&code=remove&mid={$r['wlog_mid']}'>Remove</a></center>",
|
||||
) );
|
||||
}
|
||||
|
||||
@@ -516,24 +495,24 @@ class ad_warnlogs {
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "40%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "60%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Íàéòè ëîãè ïðåäóïðåæäåíèé" );
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Search Warn Logs" );
|
||||
|
||||
$form_array = array(
|
||||
0 => array( 'notes' , 'Çàìåòêè' ),
|
||||
1 => array( 'contact', 'Îòïðàâêà Email/PM' ),
|
||||
0 => array( 'notes' , 'Entry Notes' ),
|
||||
1 => array( 'contact', 'Email/PM Sent' ),
|
||||
);
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Èñêàòü...</b>" ,
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Search for...</b>" ,
|
||||
$this->ipsclass->adskin->form_input( "search_string")
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Èñêàòü â...</b>" ,
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Search in...</b>" ,
|
||||
$this->ipsclass->adskin->form_dropdown( "search_type", $form_array)
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_form("Èñêàòü");
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_form("Search");
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
|
||||
Reference in new issue
Block a user