?
Path : /home/admin/public_html/modules/users/ |
Current File : /home/admin/public_html/modules/users/com_fontpage.php |
<?php $ac=$_GET['ac']; if($ac==""){$ac="index";} switch($ac){ case register;{ require_once('com_register.php'); break; } case index;{ require_once('showalluser.php'); $showall=new showalluser($_Config_host,$_Config_user,$_Config_password,$_Config_db_name,$_Config_table_prefix); $showall->setLimit(20); echo $fonpage->htmlMain($left,$showall->listData(),$fonpage->rightindex()); break; } case view;{ $id=$_GET['id']; $user=$_GET['user']; require_once('com_view.php'); echo $fonpage->htmlMain($left,view($id),$fonpage->rightindex()); break; } case update;{ require_once('com_font_update.php'); $id=$_GET['id']; echo $fonpage->htmlMain($left,view($id),$fonpage->rightindex()); break; } case update_do;{ $id=$_POST['id']; $name=$_POST['name']; $surname=$_POST['surname']; $education=$_POST['education']; $day=$_POST['dd']; $month=$_POST['mm']; $year=$_POST['yy']; $birthday=mktime(0, 0, 0, $month,$day, $year); $gender=$_POST['gender']; $occupation=$_POST['occupation']; $income=$_POST['income']; $address=$_POST['address']; $amper=$_POST['amper']; $province=$_POST['province']; $zipcode=$_POST['zipcode']; $telephone=$_POST['telephone']; $mobile=$_POST['mobile']; $fax=$_POST['fax']; $email=$_POST['email']; $username=$_POST['username']; $password=$_POST['password']; $repassword=$_POST['repassword']; $user->update2($name, $surname, $education, $birthday, $gender, $occupation, $income, $address, $amper, $province, $zipcode,$telephone,$mobile,$fax,$email,$username,$password,$repassword,$id); break; } } ?>