403Webshell
Server IP : 202.29.229.35  /  Your IP : 18.117.151.234
Web Server : Apache
System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www ( 1001)
PHP Version : 5.5.38
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.ivecr2.ac.th/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/data_indextest-1.php
<!----------จบแสดงความยินดี ดร.เชิญเวช---------------------->
<div class="box"> 
  <div style="width: 100%;  height:25;">
  	<img src="picbanner/welcomeDrchanwan.JPG" width="100%"/>
  </div>
</div>
<br />
<!----------จบแสดงความยินดี ดร.เชิญเวช---------------------->

<!----------box 1---------------------->
<div class="box"> 
  <div style="width: 100%;  height:25;">
  	<marquee behavior="scroll" direction="left" scrollamount="3" width="100%">
	<?php 
					include('connect/connect.php');
					$sql="select * from tbl_sortnews order by dpN_ID desc";
					$result=mysql_query($sql,$connect1);
					$num_cd=mysql_num_rows($result);	
					while($rs=mysql_fetch_array($result)){
						?>&nbsp;&nbsp;<img src="images/logoive.png" width="15" height="15" />&nbsp;&nbsp; 
    <?php
						echo $rs['dpN_Title'];?> 
			 <?php
				}
				
		  ?>
       					 </marquee>
  </div>
</div>
<br />
<div class="box">
  <div style="width: 100%;  height:219px;">
    <div class="fdefault fbold txt-topic display-inline-block" style="width: 260px;">ข่าวประชาสัมมพันธ์</div>
    <div class="line-bottom-green display-inline-block" style="width:700px;"></div>
    <div class="link-default-org" style="margin-bottom: 5px; padding:5px">
     <table width="700" border="0" cellpadding="0" cellspacing="1">
        <?php
	 		
				$sqldpN="select * from tbl_dpnews order by dpN_ID desc limit 0,5";
					$resultdpN=mysql_query($sqldpN,$connect1);
					while($rsdpN=mysql_fetch_array($resultdpN)){
						
						$dp_ID=$rsdpN['dp_ID'];
						
		
					$queryperlogin = "select * from tbl_datatecher1 where tecNumber='$dp_ID' ";
					//echo "=>".$queryperlogin."<br>";
					$resultperlogin=mysql_query($queryperlogin,$connect2);
					$rsperteclogin=mysql_fetch_array($resultperlogin);
					$selectworklogin = $rsperteclogin['selectwork'];//กลุ่มงาน
					//echo "==>".$selectworklogin;
					//ชื่อกลุ่มงาน
						$sqlworklogin="select * from tbl_departmentall where daNodpt='$selectworklogin' ";
						$resqlworklogin=mysql_query($sqlworklogin,$connect1);
						$rsworklogin=mysql_fetch_array($resqlworklogin);
						$workname = $rsworklogin['daFname'];
						
					$bg=0;
					if($bg == "#F5F5F5"){
						$bg = "#FDFDFD";
					}else{
						$bg = "#F5F5F5";
					}
				
		  ?>
        <tr bgcolor="<?php echo $bg;?>"  >
          <td width="20" align="center" valign="middle" bgcolor="<?php echo $bg?>"><img src="iconTitle/hot1.gif" width="28" height="11" /></td>
          <td width="425" align="left" valign="middle" bgcolor="<?php echo $bg?>">&nbsp;&nbsp; <a href="?i=pdNews_Showdetail&amp;dpN_ID=<?php echo $rsdpN['dpN_ID']; ?>" class="link-default-org"><?php echo $rsdpN['dpN_Title'];?></a>&nbsp; <font color="#0099FF"><br />
            <font color="#999999" size="-5"><i>เขียนโดย : </i><?php echo $workname;?> เมื่อ :: <?php echo displaydate($rsdpN['dpN_Date'])//."  ".$rsdpN['dpN_Time'];?></font></td>
        </tr>
        <?php
							
				}
				
		  ?>
      </table>
    </div>
    <div class="fgray" style="line-height: 20px;"> <a href="?i=pdNews"  class="link-orange"> ...อ่านข่าวทั้งหมด</a></div>
  </div>
</div><br />

 <!-------------box 2------------------------------>
<div class="box">
					<div style="width: 100%; height:350px">
						<div class="fdefault fbold txt-topic display-inline-block" style="width: 140px;" >ข่าวสารและกิจกรรม</div>
						<div class="line-bottom-red display-inline-block" style="width: 565px;" ></div>
						<div style="margin-top: 8px;">
							<div class="kutabs tab1 display-inline-block tab-box box-green" onclick="ontab(1)">ข่าวประชุม/สัมมนา/อบม</div>
                            <div class="kutabs tab6 display-inline-block tab-box box-blue opa60"  onclick="ontab(6)">ข่าวบอกเล่า</div>
							<div class="kutabs tab2 display-inline-block tab-box box-sky opa60"  onclick="ontab(2)">ข่าวการศึกษา</div>
							<div class="kutabs tab3 display-inline-block tab-box box-purple opa60" onclick="ontab(3)">ทุนการศึกษา</div>
							<div class="kutabs tab4 display-inline-block tab-box box-orange opa60" onclick="ontab(4)">นศ.หางาน</div>
							<div class="kutabs tab5 display-inline-block tab-box box-red opa60"  onclick="ontab(5)">กู้ยืม กยศ.</div>
                            <div class="kutabs tab7 display-inline-block tab-box box-blue opa60"  onclick="ontab(7)">โครงการ</div>
							
						</div>
						<!------------start tab 1--------------->
						<div id ="tabs1">
							<div id="news-slider">
								<ul class="jcarousel-skin-tango" id="mycarousel" >
									<?php
												function check_pic($id){
												if ($handle = opendir('system_admin/pic_new/')) {
													while (false !== ($entry = readdir($handle))) {
														if ($entry != "." && $entry != "..") {
															//strpos();
															$entry_array = explode("_",$entry);
															if($id == $entry_array[0]){
																return $entry;
															}
														}
													}
													closedir($handle);
																return false;
													}
												}
                                                        $sqlN="select * from tbl_new order by n_ID desc";
                                                        $resultN=mysql_query($sqlN,$connect1);
                                                        $numN=mysql_num_rows($resultN);
														   while($rsN=mysql_fetch_array($resultN)){
														$nid=$rsN['n_ID'];
                                                       	$pic = check_pic($nid);
                                             ?>
							<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								
								<div>  <a href="?i=shownew_all&nID=<?php echo $nid;?>" style="text-decoration:none;"><center>
                           <?php if($pic != ""){ ?><img src="system_admin/pic_new/<?php echo $pic;?>" width="158" height="130" border="0" /> <?php	}else{  ?><img src="system_admin/pic_meeting/logo.jpg" width="158" border="0"/><?php } ?>
                      </center></a></div>
								<div class="fdefault txt-left fgray detail"><a href="?i=shownew_all&nID=<?php echo $nid;?>" style="text-decoration:none;" class="link-default-org"><?php echo $rsN['n_Title']."...";?> </a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"> <?php echo displaydate($rsN['n_Date']); ?></font></div>
							</li>
							 <?php
                                    }//end while tbl_new
                                 ?>
                	</ul>
                	</div>
                <div class="clear"></div>
               </div>
					<!-----------start tab2--------------->
					<div id ="tabs2" >
						<div id="news-slider">
							<ul class="jcarousel-skin-tango" id="mycarousel1">

 												<?php
                                                        $sqlEdu1="select * from tblneweducation order by edu_ID desc";
                                                        $resultEdu1=mysql_query($sqlEdu1,$connect1);
                                                        $numEdu=mysql_num_rows($resultEdu1);
                                                        
														$enddatened=date("Y")+543;
														$enddate_orined=$enddatened."-".date("m-d");
                                                        while($rsEdu1=mysql_fetch_array($resultEdu1)){
															$picEdu=$rsEdu1['file_pic'];
                                                       			if($enddate_orined <= $rsEdu1['edu_Dateend']){	
                                                        ?>
								<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								<div><a href="?i=newEducation_detail&&eduID=<?php echo $rsEdu1['edu_ID'];?>" class="link-default-org" style="text-decoration:none;"><?php if($picEdu != ""){ ?><img src="system_admin/file_newEducation/<?php  echo $picEdu; ?>" width="130px" height="110"/><?php }else{ ?> <img alt="" src="system_admin/file_newEducation/logo.jpg" width="120" /> <?php } ?></a></div>
								<div class="fdefault txt-left fgray detail"><a href="?i=newEducation_detail&&eduID=<?php echo $rsEdu1['edu_ID'];?>" style="text-decoration:none;" class="link-default-org"><?php echo $rsEdu1['edu_Title']."...";?></a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"> <?php echo displaydate($rsEdu1['edu_Date']); ?></font></div>
							</li>
											<?php
                                                            }//end if date
                                                      }//end while                                                            
                                                    ?>							
						</ul>
                </div>
                <div class="clear"></div>
                </div>
<!--------------------start tab 3------------>
					<div id="tabs3" >
						<div id="news-slider">
							<ul class="jcarousel-skin-tango" id="mycarousel2">
										<?php
                                                        $sqlSC="select * from tbl_scholarship order by sc_ID desc";
                                                        $resultSC=mysql_query($sqlSC,$connect1);
                                                        $numSC=mysql_num_rows($resultSC);
                                                        
                                                        while($rsSC=mysql_fetch_array($resultSC)){
                                                        $dateSC=displaydate($rsSC['sc_Date']);
														$picSC=$rsSC['file_pic'];
														$scID=$rsSC['sc_ID'];
														$enddatesc=date("Y")+543;
														$enddate_orisc=$enddatesc."-".date("m-d");
																if($enddate_orisc <= $rsSC['sc_Dateend']){
                                                        ?>
						
								<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								<div><a href="?i=scholarship_detail&&scID=<?php echo $scID;?>" style="text-decoration:none;" class="link-default-org"><?php if($picSC != ""){?><img src="system_admin/file_scholarship/<?php echo $picSC;?>" width="150" height="110" /><?php }else{ ?> <img alt="" src="system_admin/file_newEducation/logo.jpg" width="120" /><?php } ?></a></div>
								<div class="fdefault txt-left fgray detail"> <a href="?i=scholarship_detail&&scID=<?php echo $scID;?>" style="text-decoration:none;" class="link-default-org"><?php echo $rsSC['sc_Title']."...";?></a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"><?php echo $dateSC; ?></font></div>
								
							</li>
												 <?php
																}//end if date
                                                        }//end while 
                                                            
                                                    ?>								
                        </ul>
                        </div>
                        
                        <div class="clear"></div>
                        </div>
<!---------------start tab4------------------->
					<div id="tabs4" >
							<div id="news-slider">
								<ul class="jcarousel-skin-tango" id="mycarousel3">
										<?php
                                                        $sqljob="select * from tbl_stdjob order by sc_ID desc";
                                                        $resultjob=mysql_query($sqljob,$connect1);
                                                        while($rsjob=mysql_fetch_array($resultjob)){
                                                        $datejob=displaydate($rsjob['sc_Date']);
														$picjob=$rsjob['file_pic'];
														$jobID=$rsjob['sc_ID'];
														$enddatejob=date("Y")+543;
														$enddate_orijob=$enddatejob."-".date("m-d");
																if($enddate_orijob <= $rsjob['sc_Dateend']){
                                                        ?>
												<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								
								<div><a href="?i=stdjob_detail&&jobID=<?php echo $jobID;?>" style="text-decoration:none;" class="link-default-org"><?php if($picjob != ""){?><img src="system_admin/file_stdjob/<?php echo $picjob;?>" width="150" height="110" /><?php }else{ ?> <img alt="" src="system_admin/file_newEducation/logo.jpg"  width="100px" height="100px"/><?php } ?></a></div>
								<div class="fdefault txt-left fgray detail"><a href="?i=stdjob_detail&&jobID=<?php echo $jobID;?>" style="text-decoration:none;" class="link-default-org"><?php echo $rsjob['sc_Title']."...";?></a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"><?php echo $datejob; ?></font></div>
								
							</li>
													<?php
																}//end if date
                                                        }//end while 
                                                            
                                                    ?>					
                                </ul>
                                </div>
                                
                                <div class="clear"></div>
                                </div>
                                                    
			<!------------------start tab 5------------------------>
					<div id="tabs5" >
							<div id="news-slider">
<ul class="jcarousel-skin-tango" id="mycarousel4">
										<?php
                                                        $sqlkys="select * from tbl_stdkayoso order by kys_ID desc";
                                                        $resultkys=mysql_query($sqlkys,$connect1);
                                                        while($rskys=mysql_fetch_array($resultkys)){
                                                        $datekys=displaydate($rskys['kys_Date']);
														$pickys=$rskys['file_pic'];
														$kysID=$rskys['kys_ID'];
														$enddatekys=date("Y")+543;
														$enddate_orikys=$enddatekys."-".date("m-d");
																if($enddate_orikys <= $rskys['kys_Dateend']){
                                                        ?>
														<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								
								<div><a href="?i=stdkys_detail&&kysID=<?php echo $kysID;?>" style="text-decoration:none;" class="link-default-org"><?php if($pickys != ""){?><img src="system_admin/file_stdkayoso/<?php echo $pickys;?>" width="150" height="110" /><?php }else{ ?> <img alt="" src="system_admin/file_newEducation/logo.jpg"  width="100px" height="100px"/><?php } ?></a></div>
								<div class="fdefault txt-left fgray detail"><a href="?i=stdkys_detail&&kysID=<?php echo $kysID;?>" style="text-decoration:none;" class="link-default-org"><?php echo $rskys['kys_Title']."...";?></a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"><?php echo $datekys; ?></font></div>
								
							</li>
							<?php
																}//end if date
                                                        }//end while 
                                                            
                                                    ?>	
</ul>
</div>

<div class="clear"></div>
</div>
					
						<!------------------start tab 6------------------------>
					<div id="tabs6" ><p></p>
                    <div id="news-slider">
								<ul class="jcarousel-skin-tango" id="mycarousel5">
										<?php
                                                        $sqlVN="select * from tblnew_visanu order by id desc";
														//echo "==>".$sqlVN;
                                                        $resultVN=mysql_query($sqlVN,$connect1);
                                                        $numVN=mysql_num_rows($resultVN);
                                                        
                                                        while($rsVN=mysql_fetch_array($resultVN)){
                                                        $dateVN=displaydate($rsVN['date']);
                                                        ?>
								<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								
								<div><a href="?i=showvisanu_detail&vID=<?php echo $rsVN['id'];?>" style="text-decoration:none;" class="link-default-org" target="_blank"><img src="system_admin/pic_visanu/<?php  echo $file=$rsVN['file']; ?>"/></a></div>
								<div class="fdefault txt-left fgray detail"><a href="?i=showvisanu_detail&vID=<?php echo $rsVN['id'];?>" style="text-decoration:none;" class="link-default-org"> <?php echo $rsVN['title']."...";?></a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"><?php echo displaydate($rsVN['date']); ?></font></div>
								
							</li>
													<?php
														   }//end while tblnew_visanu
                                                    ?>					
                                </ul>
                                </div>
                            <div class="clear"></div>
					</div>
					
                
                
                	<!------------------start tab 7 โครงการ------------------------>
					<div id="tabs7" >
							<div id="news-slider">
								<ul class="jcarousel-skin-tango" id="mycarousel6">
										<?php
										
												function check_picMT($MTid){
												
												if ($handleMT = opendir('system_admin/pic_meeting/')) {
													while (false !== ($entryMT = readdir($handleMT))) {
														if ($entryMT != "." && $entryMT != "..") {
															//strpos();
															$entry_arrayMT = explode("_",$entryMT);
															if($MTid == $entry_arrayMT[0]){
																return $entryMT;
															}
														}
													}
													closedir($handleMT);
													
																return false;
													
													}
												}
                                                        $sqlmeeting="select * from tbl_meeting order by m_ID desc";
                                                        $resultmeeting=mysql_query($sqlmeeting,$connect1);
                                                        while($rsmeeting=mysql_fetch_array($resultmeeting)){
														$meetingID=$rsmeeting['m_ID'];
                                                       	$picMT = check_picMT($meetingID);
                                                        $datemeeting=displaydate($rsmeeting['m_Date']);
														
														//echo "=>".$picMT;
														
                                                        ?>
								<li class="display-inline-block txt-center news-box" style="height:222px; width:160px;">
								
								<div><a href="?i=showmeeting&&mID=<?php echo $meetingID;?>" style="text-decoration:none;" class="link-default-org"><?php if($picMT != ""){?><img src="system_admin/pic_meeting/<?php echo $picMT;?>" width="150" height="110" /><?php }else{ ?> <img alt="" src="system_admin/file_newEducation/logo.jpg"  width="100px" height="100px"/><?php } ?></a></div>
								<div class="fdefault txt-left fgray detail"><a href="?i=showmeeting&&mID=<?php echo $meetingID;?>" style="text-decoration:none;" class="link-default-org"><?php echo $rsmeeting['m_proName']."...";?></a></div>
								<div class="fdefault txt-left fgray detail"><font size="1px" color="#666666"><?php echo $datemeeting; ?></font></div>
								
							</li>
							<?php
                                                        }//end while 
                                                            
                         ?>	
</ul>
</div>

<div class="clear"></div>
	</div>
	</div>
	</div>
<br />

<!---------box 3------------------>
<div class="box">
  <div style="width: 100%;  height:500px">
    <div class="fdefault fbold txt-topic display-inline-block" style="width: 260px;">ประกวดราคาจัดซื้อจัดจ้้าง</div>
    <div class="line-bottom-moeny display-inline-block" style="width: 700px;"></div>
    <div class="fdefault fbold" style="margin-bottom: 5px; padding:5px" >
      <ul style="margin: 0px;padding: 0px;padding-left: 15px;">
      <?php 
			         
					$sqlpr="select * from tblprocure order by id desc";
					$resultpr=mysql_query($sqlpr,$connect1);
					while($rspr=mysql_fetch_array($resultpr)){
					$filedocument=$rspr['file'];
					$date=displaydate($rspr['date']);
					$filepr=$rspr['file'];
					
					$dp_ID=$rspr['dp_ID'];
					
								$sqlwork="select * from tbladmin where adID='$dp_ID' ";
								$resqlwork=mysql_query($sqlwork,$connect1);
								$rswork=mysql_fetch_array($resqlwork);
				
				if(date("Y-m-d") <= $rspr['endDate']){ 	
					
		  ?>
        <li><a href="system_admin/file_Procure/<?php echo $rspr['file'];?>" target="_blank" class="link-default-org"><?php if($rspr['file'] !=""){ ?><?php echo $rspr['title'];?> <img src="images/icon04.gif" width="22" height="7" border="0" /> <?php }	?></a>
         
          <font size="1px" color="#666666"><?php echo $date;?>&nbsp; <!--เขียนโดย : <?php //echo $rswork['addepartment'];?>--></font></li>
              <?php
				}//end endDate
					}//endwhile
				
		  ?>
      </ul>
    </div>
    <div class="fgray" style="line-height: 20px;"> <!----<a href="#"  class="link-orange"> ...อ่านต่อ</a>--->
    </div>
  </div>
</div>
<br />

<!---------box 4------------------>
<div class="box">
  <div style="width: 100%;  height:211px">
    <div class="fdefault fbold txt-topic display-inline-block" style="width: 260px;">ผลงานวิชาการ</div>
    <div class="line-bottom-moeny display-inline-block" style="width: 700px;"></div>
    <div class="fdefault fbold" style="margin-bottom: 5px; padding:5px" >
      <ul style="margin: 0px;padding: 0px;padding-left: 15px;">
      
<table width="700" border="0" align="left" cellpadding="5" cellspacing="1" dir="ltr">
  <tr>
    <td colspan="2" align="center" bgcolor="#999999">ชื่อผลงาน</td>
    <td width="180" align="center" bgcolor="#999999">อัพโหลด</td>
    <td width="50" align="center" bgcolor="#999999">อ่าน</td>
  </tr>
    <?php 

									function web_count_check($path_file,$set=0){
									$filename =$path_file;
									$fp = @fopen($filename,"r");
									$number = @fread ($fp,filesize($filename) );
									@fclose($fp);
									if($number == ""){
									$number = 1;
									}else{
									$number=$number+$set;
									}
									$fp = @fopen($filename,"w+");
									@fwrite($fp,$number);
									@fclose($fp);
									//@chmod($filename, 777);
									return $number;
									}
					$sql="select * from tblproject_techer where status_user=1 order by p_ID asc limit 4";
					$result=mysql_query($sql,$connect1);
					$num=mysql_num_rows($result);
						
							$count_rows1 = 0; // นับจำนวนแถว
					while($rs=mysql_fetch_array($result)){
						
						$number = web_count_check("count_projectTecher/".$rs['p_ID'].".txt");
					
						//------------------การสลับสีของแถว--------------------------------------
					if($bg == "#F5F5F5") { //ส่วนของการ สลับสี 
						$bg = "#FDFDFD";
					} else {
						$bg = "#F5F5F5";
					}
		  ?>
  <tr  background="<?php echo $bg;?>">
    <td width="20" align="center"><img src="images/webboard.gif" width="14" height="12" /></td>
    <td width="450">&nbsp;<a href="?i=project_showdetall&pstd_id=<?php echo $rs['p_ID'];?>"><?php echo $rs['p_fname']."    ".$rs['p_lname'];?></a></td>
    <td width="180" align="center"><?php echo displaydate($rs['p_Date']);?></td>
    <td width="50" align="center"><?php echo $number;?></td>
  </tr>
  <?php
					}//end while
  ?>
</table>
      </ul>
    </div>
    <div class="fgray" style="line-height: 20px;"> <!----<a href="#"  class="link-orange"> ...อ่านต่อ</a>--->
    </div>
  </div>
</div>
<!------>

Youez - 2016 - github.com/yon3zu
LinuXploit