Version 2.1.7
This commit is contained in:
1 parent
0eecc172d9
commit
f73f8bff6d
941 files changed
+215301
-103093
No files matched your search
@@ -0,0 +1,517 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.1.7
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 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
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-10-28 22:59:40 +0100 (Fri, 28 Oct 2005) $
|
||||
| > $Revision: 71 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Email Logs Stuff
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 11nd September 2002
|
||||
|
|
||||
| > Module Version Number: 1.0.0
|
||||
| > DBA Checked: Mon 24th May 2004
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Íåâåðíûé âõîä</h1> Ó Âàñ íåò äîñòóïà ê äèðåêòèâå ýòîãî ôàéëà. Åñëè Âû ïðîâîäèëè îáíîâëåíèÿ, óáåäèòåñü, ÷òî íå çàáûëè îáíîâèòü 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
class ad_emaillogs
|
||||
{
|
||||
|
||||
var $base_url;
|
||||
var $colours = array();
|
||||
/**
|
||||
* Section title name
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $perm_main = "admin";
|
||||
|
||||
/**
|
||||
* Section title name
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $perm_child = "emaillog";
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
// Make sure we're a root admin, or else!
|
||||
|
||||
if ($this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'])
|
||||
{
|
||||
//$this->ipsclass->admin->error("Sorry, these functions are for the root admin group only");
|
||||
}
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
{
|
||||
case 'list':
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':' );
|
||||
$this->list_current();
|
||||
break;
|
||||
|
||||
case 'remove':
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':remove' );
|
||||
$this->remove_entries();
|
||||
break;
|
||||
|
||||
case 'viewemail':
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':' );
|
||||
$this->view_email();
|
||||
break;
|
||||
|
||||
//-----------------------------------------
|
||||
default:
|
||||
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':' );
|
||||
$this->list_current();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// View a single email.
|
||||
//-----------------------------------------
|
||||
|
||||
function view_email()
|
||||
{
|
||||
if ($this->ipsclass->input['id'] == "")
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî îïðåäåëèòü ID àäðåñà email, âåðíèòåñü è ïîïðîáóéòå åùå ðàç");
|
||||
}
|
||||
|
||||
$id = intval($this->ipsclass->input['id']);
|
||||
|
||||
$this->ipsclass->DB->cache_add_query( 'emaillogs_view_email', array( 'id' => $id ) );
|
||||
$this->ipsclass->DB->cache_exec_query();
|
||||
|
||||
if ( ! $row = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåâîçìîæíî îïðåäåëèòü ID àäðåñà email, âåðíèòåñü è ïîïðîáóéòå åùå ðàç ($id)");
|
||||
}
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "100%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( $row['email_subject'] );
|
||||
|
||||
|
||||
|
||||
$row['email_date'] = $this->ipsclass->admin->get_date( $row['email_date'], 'LONG' );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array(
|
||||
"<strong>Îò:</strong> {$row['name']} <{$row['from_email_address']}>
|
||||
<br /><strong>Êîìó:</strong> {$row['to_name']} <{$row['to_email_address']}>
|
||||
<br /><strong>Îòïðàâëåíî:</strong> {$row['email_date']}
|
||||
<br /><strong>IP-àäðåñ:</strong> {$row['from_ip_address']}
|
||||
<br /><strong>Òåìà:</strong> {$row['email_subject']}
|
||||
<hr>
|
||||
<br />{$row['email_content']}
|
||||
"
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
$this->ipsclass->admin->print_popup();
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Remove row(s)
|
||||
//-----------------------------------------
|
||||
|
||||
function remove_entries()
|
||||
{
|
||||
if ( $this->ipsclass->input['type'] == 'all' )
|
||||
{
|
||||
$this->ipsclass->DB->simple_exec_query( array( 'delete' => 'email_logs' ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
$ids = array();
|
||||
|
||||
foreach ($this->ipsclass->input as $k => $v)
|
||||
{
|
||||
if ( preg_match( "/^id_(\d+)$/", $k, $match ) )
|
||||
{
|
||||
if ($this->ipsclass->input[ $match[0] ])
|
||||
{
|
||||
$ids[] = $match[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
if ( count($ids) < 1 )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû âûáðàòü õîòü îäíó çàïèñü èç æóðíàëà äëÿ óäàëåíèÿ");
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->simple_exec_query( array( 'delete' => 'email_logs', 'where' => " email_id IN (".implode(',', $ids ).")" ) );
|
||||
}
|
||||
|
||||
$this->ipsclass->admin->save_log("Óäàëåíû çàïèñè èç æóðíàëà e-mail îòïðàâëåíèé");
|
||||
|
||||
$this->ipsclass->boink_it($this->ipsclass->base_url."&act=emaillog");
|
||||
exit();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// SHOW ALL LANGUAGE PACKS
|
||||
//-----------------------------------------
|
||||
|
||||
function list_current()
|
||||
{
|
||||
$this->ipsclass->html .= ""; // removed js popwin
|
||||
|
||||
$form_array = array();
|
||||
|
||||
$start = intval($this->ipsclass->input['st']);
|
||||
|
||||
$this->ipsclass->admin->page_detail = "Ñîõðàíåííûå çàïèñè æóðíàëà e-mail îòïðàâëåíèé";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå æóðíàëîì e-mail îòïðàâëåíèé";
|
||||
|
||||
//-----------------------------------------
|
||||
// Check URL parameters
|
||||
//-----------------------------------------
|
||||
|
||||
$url_query = array();
|
||||
$db_query = array();
|
||||
|
||||
if ( $this->ipsclass->input['type'] != "" )
|
||||
{
|
||||
$this->ipsclass->admin->page_title .= " (Ðåçóëüòàòû ïîèñêà)";
|
||||
|
||||
switch( $this->ipsclass->input['type'] )
|
||||
{
|
||||
case 'fromid':
|
||||
$url_query[] = 'type=fromid';
|
||||
$url_query[] = 'id='.intval($this->ipsclass->input['id']);
|
||||
$db_query[] = 'email.from_member_id='.intval($this->ipsclass->input['id']);
|
||||
break;
|
||||
case 'toid':
|
||||
$url_query[] = 'type=toid';
|
||||
$url_query[] = 'id='.intval($this->ipsclass->input['id']);
|
||||
$db_query[] = 'email.to_member_id='.intval($this->ipsclass->input['id']);
|
||||
break;
|
||||
case 'subject':
|
||||
$string = urldecode($this->ipsclass->input['string']);
|
||||
if ( $string == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè õîòü ÷òî-íèáóäü");
|
||||
}
|
||||
$url_query[] = 'type='.$this->ipsclass->input['type'];
|
||||
$url_query[] = 'string='.urlencode($string);
|
||||
$db_query[] = $this->ipsclass->input['match'] == 'loose' ? "email.email_subject LIKE '%{$string}%'" : "email.email_subject='{$string}'";
|
||||
break;
|
||||
case 'content':
|
||||
$string = urldecode($this->ipsclass->input['string']);
|
||||
if ( $string == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè õîòü ÷òî-íèáóäü");
|
||||
}
|
||||
$url_query[] = 'type='.$this->ipsclass->input['type'];
|
||||
$url_query[] = 'string='.urlencode($string);
|
||||
$db_query[] = $this->ipsclass->input['match'] == 'loose' ? "email.email_content LIKE '%{$string}%'" : "email.email_content='{$string}'";
|
||||
break;
|
||||
case 'email_from':
|
||||
$string = urldecode($this->ipsclass->input['string']);
|
||||
if ( $string == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè õîòü ÷òî-íèáóäü");
|
||||
}
|
||||
$url_query[] = 'type='.$this->ipsclass->input['type'];
|
||||
$url_query[] = 'string='.urlencode($string);
|
||||
$db_query[] = $this->ipsclass->input['match'] == 'loose' ? "email.from_email_address LIKE '%{$string}%'" : "email.from_email_address='{$string}'";
|
||||
break;
|
||||
case 'email_to':
|
||||
$string = urldecode($this->ipsclass->input['string']);
|
||||
if ( $string == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè õîòü ÷òî-íèáóäü");
|
||||
}
|
||||
$url_query[] = 'type='.$this->ipsclass->input['type'];
|
||||
$url_query[] = 'string='.urlencode($string);
|
||||
$db_query[] = $this->ipsclass->input['match'] == 'loose' ? "email.to_email_address LIKE '%{$string}%'" : "email.to_email_address='{$string}'";
|
||||
break;
|
||||
case 'name_from':
|
||||
$string = urldecode($this->ipsclass->input['string']);
|
||||
if ( $string == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè õîòü ÷òî-íèáóäü");
|
||||
}
|
||||
|
||||
if ( $this->ipsclass->input['match'] == 'loose' )
|
||||
{
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'id,name', 'from' => 'members', 'where' => "name LIKE '%{$string}%'" ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
if ( ! $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íå íàéäåíî íèêàêèõ çàïèñåé, ñîîòâåòñòâóþùèõ çàïðîñó â æóðíàëå e-mail îòïðàâëåíèé");
|
||||
}
|
||||
|
||||
$ids = array();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$ids[] = $r['id'];
|
||||
}
|
||||
|
||||
$db_query[] = 'email.from_member_id IN('.implode( ',', $ids ).')';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'id,name', 'from' => 'members', 'where' => "name='{$string}'" ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
if ( ! $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íå íàéäåíî íèêàêèõ çàïèñåé, ñîîòâåòñòâóþùèõ çàïðîñó â æóðíàëå e-mail îòïðàâëåíèé");
|
||||
}
|
||||
|
||||
$r = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
$db_query[] = 'email.from_member_id IN('.$r['id'].')';
|
||||
}
|
||||
|
||||
$url_query[] = 'type='.$this->ipsclass->input['type'];
|
||||
$url_query[] = 'string='.urlencode($string);
|
||||
break;
|
||||
case 'name_to':
|
||||
$string = urldecode($this->ipsclass->input['string']);
|
||||
if ( $string == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Âû äîëæíû ââåñòè õîòü ÷òî-íèáóäü");
|
||||
}
|
||||
|
||||
if ( $this->ipsclass->input['match'] == 'loose' )
|
||||
{
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'id,name', 'from' => 'members', 'where' => "name LIKE '%{$string}%'" ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
if ( ! $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íå íàéäåíî íèêàêèõ çàïèñåé, ñîîòâåòñòâóþùèõ çàïðîñó â æóðíàëå e-mail îòïðàâëåíèé");
|
||||
}
|
||||
|
||||
$ids = array();
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$ids[] = $r['id'];
|
||||
}
|
||||
|
||||
$db_query[] = 'email.to_member_id IN('.implode( ',', $ids ).')';
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'id,name', 'from' => 'members', 'where' => "name='{$string}'" ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
if ( ! $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
$this->ipsclass->admin->error("Íå íàéäåíî íèêàêèõ çàïèñåé, ñîîòâåòñòâóþùèõ çàïðîñó â æóðíàëå e-mail îòïðàâëåíèé");
|
||||
}
|
||||
|
||||
$r = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
$db_query[] = 'email.to_member_id IN('.$r['id'].')';
|
||||
}
|
||||
|
||||
$url_query[] = 'type='.$this->ipsclass->input['type'];
|
||||
$url_query[] = 'string='.urlencode($string);
|
||||
break;
|
||||
default:
|
||||
//
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$url_query[] = 'match='.$this->ipsclass->input['match'];
|
||||
|
||||
//-----------------------------------------
|
||||
// LIST 'EM
|
||||
//-----------------------------------------
|
||||
|
||||
$dbe = "";
|
||||
$url = "";
|
||||
|
||||
if ( count($db_query) > 0 )
|
||||
{
|
||||
$dbe = implode(' AND ', $db_query );
|
||||
}
|
||||
|
||||
if ( count($url_query) > 0 )
|
||||
{
|
||||
$url = '&'.implode( '&', $url_query);
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'count(email.email_id) as cnt',
|
||||
'from' => 'email_logs email',
|
||||
'where' => $dbe ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
$count = $this->ipsclass->DB->fetch_row();
|
||||
|
||||
$links = $this->ipsclass->build_pagelinks( array( 'TOTAL_POSS' => $count['cnt'],
|
||||
'PER_PAGE' => 25,
|
||||
'CUR_ST_VAL' => $start,
|
||||
'L_SINGLE' => "Îäíà ñòðàíèöà",
|
||||
'L_MULTI' => "Ñòðàíèöû: ",
|
||||
'BASE_URL' => $this->ipsclass->base_url."&{$this->ipsclass->form_code}".$url,
|
||||
)
|
||||
);
|
||||
if ( $dbe )
|
||||
{
|
||||
$dbe = 'WHERE '.$dbe;
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->cache_add_query( 'emaillogs_list_current', array( 'dbe' => $dbe, 'limit_a' => $start ) );
|
||||
$this->ipsclass->DB->cache_exec_query();
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_form( array( 1 => array( 'code' , 'remove' ),
|
||||
2 => array( 'act' , 'emaillog' ),
|
||||
3 => array( 'section', $this->ipsclass->section_code ),
|
||||
) );
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "5%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Îò" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Òåìà" , "30%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Êîìó" , "20%" );
|
||||
$this->ipsclass->adskin->td_header[] = array( "Äàòà Âðåìÿ" , "25%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Ñîõðàíåííûå îòïðàâëåííûå ïèñüìà" );
|
||||
|
||||
if ( $this->ipsclass->DB->get_num_rows() )
|
||||
{
|
||||
while ( $row = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
|
||||
$row['email_date'] = $this->ipsclass->admin->get_date( $row['email_date'], 'SHORT' );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array(
|
||||
"<center><input type='checkbox' class='checkbox' name='id_{$row['email_id']}' value='1' /></center>",
|
||||
"<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=list&type=fromid&id={$row['id']}' title='Ïîêàçàòü âñå ïèñüìà îòïðàâëåííûå ýòèì ïîëüçîâàòåëåì'><img src='{$this->ipsclass->skin_url}/images/acp_search.gif' border='0' alt='..by id'></a> <b><a href='{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=Profile&MID={$row['id']}' title='Ïðîôèëü ïîëüçîâàòåëÿ (íîâîå îêíî)' target='blank'>{$row['name']}</a></b>",
|
||||
"<a href='javascript:pop_win(\"&{$this->ipsclass->form_code_js}&code=viewemail&id={$row['email_id']}\",\"Log\",400,400)' title='Ïðî÷èòàòü email'>{$row['email_subject']}</a>",
|
||||
"<a href='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=list&type=toid&id={$row['to_id']}' title='Ïîêàçàòü âñå ïèñüìà ïîëó÷åííûå ýòèì ïîëüçîâàòåëåì'><img src='{$this->ipsclass->skin_url}/images/acp_search.gif' border='0' alt='..by id'></a> <a href='{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?act=Profile&MID={$row['to_id']}' title='Ïðîôèëü ïîëüçîâàòåëÿ (íîâîå îêíî)' target='blank'>{$row['to_name']}</a>",
|
||||
"{$row['email_date']}",
|
||||
) );
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic("<center>Íåò çàïèñåé</center>");
|
||||
}
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_basic('<div style="float:left;width:auto"><input type="submit" value="Óäàëèòü îòìå÷åííûå" id="button" /> <input type="checkbox" id="checkbox" name="type" value="all" /> Óäàëèòü âñå?</div><div align="right">'.$links.'</div></form>', 'left', 'pformstrip');
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
//-------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_form( array( 1 => array( 'code' , 'list' ),
|
||||
2 => array( 'act' , 'emaillog' ),
|
||||
3 => array( 'section', $this->ipsclass->section_code ),
|
||||
) );
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "100%" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Ïîèñê â æóðíàëå e-mail îòïðàâëåíèé" );
|
||||
|
||||
$form_array = array(
|
||||
0 => array( 'subject' , 'Òåìà ïèñüìà' ),
|
||||
1 => array( 'content' , 'Ñîäåðæèìîå' ),
|
||||
2 => array( 'email_from' , 'Îò (àäðåñ email)' ),
|
||||
3 => array( 'email_to' , 'Êîìó (àäðåñ email)' ),
|
||||
4 => array( 'name_from' , 'Îò (èìÿ ïîëüçîâàòåëÿ)'),
|
||||
5 => array( 'name_to' , 'Êîìó (èìÿ ïîëüçîâàòåëÿ)' ),
|
||||
);
|
||||
|
||||
$type_array = array(
|
||||
0 => array( 'exact' , 'ñîâïàäåíèå' ),
|
||||
1 => array( 'loose' , 'ñîäåðæèò' ),
|
||||
);
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "<b>Ãäå èñêàòü</b> "
|
||||
. $this->ipsclass->adskin->form_dropdown( "type", $form_array) ." "
|
||||
. $this->ipsclass->adskin->form_dropdown( "match", $type_array) ." "
|
||||
. $this->ipsclass->adskin->form_input( "string"),
|
||||
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_form("Èñêàòü");
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
//-----------------------------------------
|
||||
//-------------------------------
|
||||
|
||||
$this->ipsclass->admin->nav[] = array( $this->ipsclass->form_code, 'Æóðíàë e-mail îòïðàâëåíèé' );
|
||||
|
||||
$this->ipsclass->admin->output();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
Reference in new issue
Block a user