- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
if (CForm::is_submit($this->class_name.'_list', 'delete') ) {
$this->cmd_delete();
}elseif (CForm::is_submit($this->class_name.'_form', 'delete') ) {
$this->cmd_delete();
}elseif (!CForm::is_submit($this->class_name.'_form') && InGetPost('cmd', '') == 'delete') {
if (is_numeric(InGet('wi2c_id')))
$this->delete_wi2c(InGet('wi2c_id'));
elseif (is_numeric(InGet('s2c_id')))
$this->delete_s2c(InGet('s2c_id'));
elseif (is_numeric(InGet('w2c_id')))
$this->delete_w2c(InGet('w2c_id'));
elseif (is_numeric(InGet('spl_id')))
$this->delete_spl(InGet('spl_id'));
elseif (is_numeric(InGet($this->table_key_5)))
$this->delete_p2wi(InGet($this->table_key_5));
elseif (is_numeric(InGet('color_id')))
$this->delete_color(InGet('color_id'));
elseif (is_numeric(InGet('edit_id')))
$this->cmd_delete();
}elseif (CForm::is_submit($this->class_name.'_form', 'addSize') ) {
$this->cmd_add_sizes();
}elseif (CForm::is_submit($this->class_name.'_form', 'addSize2') ) {
$this->cmd_add_sizes2();
}elseif (CForm::is_submit($this->class_name.'_form', 'addSize3') ) {
$this->cmd_add_sizes3();
}elseif (CForm::is_submit($this->class_name.'_form', 'addSize4') ) {
$this->cmd_add_sizes4();
}elseif (CForm::is_submit($this->class_name.'_form', 'addSize5') ) {
$this->cmd_add_sizes5();
}elseif (CForm::is_submit($this->class_name.'_form', 'addSplash') ) {
$this->cmd_add_splash();
}elseif (CForm::is_submit($this->class_name.'_list', 'insert') ) {
$this->cmd_new();
}elseif (CForm::is_submit($this->class_name.'_list', 'edit') || InGetPost('cmd', '') == 'edit' ) {
//$this->cmd_edit();
}elseif (CForm::is_submit($this->class_name.'_form', 'form_action') ) {
if ( $this->obj_id == 0 )
$this->cmd_add();
else
$this->cmd_update();
}else{
//$this->cmd_list();
}
//echo $iCategoryID;
Рядом с вот этим http://govnokod.ru/1151, лежала еще одна куча. Вот решил наговнять. Автор не я.
Комментарии (0) RSS
Добавить комментарий