403Webshell
Server IP : 119.59.102.212  /  Your IP : 18.117.197.188
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/faqs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/faqs/faqs_edit.php
<?php
// Status Package Module
$status_module=select_query("status_module","cms_status_module","id","29");
if($status_module[0]!=1)	{	
	fieldset_no_module();
}

if(id_sub_permission(5)!=1){	
	permission_fail();			
}
$navig['faqs']="ถาม-ตอบ";
$navig['faqs_full']="แก้ไขข้อมูล";

navigator($navig);
echo"<br>";
bar_header("แก้ไขข้อมูล"); // Bar_Header
fieldset_top("ถาม-ตอบ");

import_request_variables('pG', 'p_');
if($p_id_faq_edit!="")										{	     $id_faq_edit=trim($p_id_faq_edit);					}

$sql="SELECT * FROM cms_faqs WHERE id='$id_faq_edit'";
$result=mysql_query($sql);
$data=mysql_fetch_array($result);

?>
<form  action="index.php?mod=faqs_edit_output&path=faqs&id_faq_edit=<?php echo $id_faq_edit; ?>" method="post" enctype="multipart/form-data" name="add" id="add" onSubmit="return checkadd()">

<table width="98%" border="0" align="center" cellpadding="1" cellspacing="1">

  <?php
  
    text_editor(450, 260, 'คำถาม', 2, $data['question'], 'question');
    
    text_editor(450, 260, 'คำตอบ', 2, $data['ans'], 'ans');
    
    button_text('แก้ไขข้อมูล');
    
  ?>
<!--    <tr>
		<td width=15% ><img src='coremain/images/marker.gif'> <strong>คำถาม</strong></td> 
		 <td width=85% ><? 
		 		  $oFCKeditor = new FCKeditor('question') ;
				  $oFCKeditor->BasePath	= 'coremain/editor/';
				  $oFCKeditor->Value		= $data[question];
				  $oFCKeditor->Width = 450;
				  $oFCKeditor->Height = 260;
				  $oFCKeditor->Create() ;
		 ?></td> 
	</tr>

    <tr>
		<td><img src='coremain/images/marker.gif'> <strong>คำตอบ</strong></td> 
		<td><?
				  $oFCKeditor = new FCKeditor('ans') ;
				  $oFCKeditor->BasePath	= 'coremain/editor/';
				  $oFCKeditor->Value		= $data[ans];
				  $oFCKeditor->Width = 450;
				  $oFCKeditor->Height = 260;
				  $oFCKeditor->Create() ;
		?></td> 
	</tr>



  <tr height='0'>
		<td colspan='2' align='center'><?text_button_update();?></td> 
  </tr>-->


  </table>
</form>   
<?php fieldset_down();?>



Youez - 2016 - github.com/yon3zu
LinuXploit