Пример #1
0
 function forum($comp = false)
 {
     global $g_usr;
     parent::constructor($comp);
     $this->user =& $g_usr;
     $this->userErr = new tempError();
 }
Пример #2
0
 function menuitem()
 {
     avColumn::constructor();
     $this->tpl->set_file('temp', 'content/tpl/menuitem.html', 1);
     if (!empty($GLOBALS['menuitem'])) {
         $this->info = $this->get_info($GLOBALS['menuitem']);
         $GLOBALS['menuname'] = $this->info['iname'];
     } elseif (!empty($GLOBALS['menuname'])) {
         $this->info = $this->get_info_iname($GLOBALS['menuname']);
         $GLOBALS['menuitem'] = $this->info['id'];
     } else {
         $GLOBALS['menuitem'] = 0;
         $GLOBALS['menuname'] = '';
     }
     if (!empty($this->info)) {
         $this->create_component();
     }
     $this->tpl->set_var('menuitem', $GLOBALS['menuitem']);
 }
Пример #3
0
 function faq()
 {
     avColumn::constructor();
 }
Пример #4
0
 function news()
 {
     avColumn::constructor();
 }
Пример #5
0
 function darbai()
 {
     avColumn::constructor();
     $this->sql = new darbai_sql(&$this->db);
 }
Пример #6
0
 function messages($comp = false)
 {
     avColumn::constructor($comp);
 }
Пример #7
0
 function login($comp = false)
 {
     avColumn::constructor($comp);
 }
 function darbai_list()
 {
     avColumn::constructor();
 }
Пример #9
0
 function block()
 {
     avColumn::constructor();
 }
 function darbai_submit()
 {
     avColumn::constructor();
 }