Server IP : 127.0.0.2 / Your IP : 18.222.48.95 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,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,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/admin/ |
Upload File : |
<?php ob_start(); session_start(); require_once('session-check.php'); require_once('include/db-config.php'); ?> <!DOCTYPE html> <HTML> <HEAD> <TITLE>Joel Levitt, maintenance management, maintenance management consulting, tpms</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <link href="css/style.css" type="text/css" rel="stylesheet"> </HEAD> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <!-- ImageReady Slices (maintrainer_slice2.jpg) --> <TABLE WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center"> <?php include_once('include/include_header.php'); ?> <?php // require_once('include/db-config.php'); $sql= "Select * from maintrainer_home3"; $result=mysqli_query($conn,$sql) or die(mysqli_error()); while($row=mysqli_fetch_array($result)) { $ID = $row['ID']; $MiddleMainTitle = $row['MiddleMainTitle']; $MiddleMainContent = $row['MiddleMainContent']; $ImageName = $row['ImageName']; $ImageTitle = $row['ImageTitle']; $ImageName2 = $row['ImageName2']; $ImageTitle2 = $row['ImageTitle2']; $RightBox1Heading = $row['RightBox1Heading']; $RightBox1Content = $row['RightBox1Content']; $RightBox1ReadMore=$row['RightBox1ReadMore']; $RightBox2Heading = $row['RightBox2Heading']; $RightBox2Content = $row['RightBox2Content']; $RightBox2ReadMore=$row['RightBox2ReadMore']; $RightBox3Heading = $row['RightBox3Heading']; $RightBox3Content = $row['RightBox3Content']; $RightBox3ReadMore=$row['RightBox3ReadMore']; } ?> <TR> <TD width="100%" align="center"> <table border="0" cellpadding="0" cellspacing="0" width="1100" align="center" class="body_bg" style="border-color:"> <tr><td colspan="3" style="height:9px;"></td></tr> <tr> <td style="width:9px;"></td> <td class="content_bg" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="95%" align="center"> <tr><!-- <td style="height:40px;" class="other_link" align="right"> <a href="home-mgt2.php">Home Page Mgt.</a> | <a href="home-mgt3.php">Landing Page Mgt.</a> | <a href="home-mgt.php">Old Home Page Mgt.</a> </td>--> </tr> <tr> <td> <form action="home-mgt3-action.php" method="post" enctype="multipart/form-data" id="form" name="form" onSubmit=""> <table border="0" cellpadding="0" cellspacing="0" class="normal_text" width="100%"> <tr><td class="mainhead" valign="top" colspan="2">MANAGE LANDING PAGE CONTENT</td></tr> <tr><td style="height:10px;"></td></tr> <TR> <tD> <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" width="50%" class="normal_text"> Title <br> <input type="text" style="width:100%;" id="mdlmaintitle" name="mdlmaintitle" value="<?php echo $MiddleMainTitle; ?>"> <br> Content <br> <textarea style="width:100%; height:500px;" id="mdlmainconent" name="mdlmainconent"><?php echo $MiddleMainContent; ?></textarea> <br> Image Name (Best Size is 600 X 300) <font color="#CCCCCC">Name of image uploaded through 'File Mgt'</font> <br> <input type="text" style="width:100%;" id="imgname" name="imgname" value="<?php echo $ImageName; ?>"> <br> Image Title <br> <input type="text" style="width:100%;" id="imgtitle" name="imgtitle" value="<?php echo $ImageTitle; ?>"> </td> <td style="width:2%;"></td> <td class="normal_text" valign="top" width="23%"> Box 1 Heading <br> <input type="text" style="width:100%;" id="rhtbx1head" name="rhtbx1head" value="<?php echo $RightBox1Heading; ?>"> <br> Box 1 Content <br> <textarea style="width:100%; height:150px;" id="rhtbx1content" name="rhtbx1content"><?php echo $RightBox1Content; ?></textarea> <br> Box 1 Read More Link <input type="text" style="width:100%;" id="rhtbx1read" name="rhtbx1read" value="<?php echo $RightBox1ReadMore;?>"> <br><br><br> Box 2 Heading <br> <input type="text" style="width:100%;" id="rhtbx2head" name="rhtbx2head" value="<?php echo $RightBox2Heading; ?>"> <br> Box 2 Content <br> <textarea style="width:100%; height:150px;" id="rhtbx2content" name="rhtbx2content"><?php echo $RightBox2Content; ?></textarea> <br> Box2 Read More Link <input type="text" style="width:100%;" id="rhtbx2read" name="rhtbx2read" value="<?php echo $RightBox2ReadMore;?>"> <br><br><br> Box 3 Heading <br> <input type="text" style="width:100%;" id="rhtbx3head" name="rhtbx3head" value="<?php echo $RightBox3Heading; ?>"> <br> Box 3 Content <br> <textarea style="width:100%; height:150px;" id="rhtbx3content" name="rhtbx3content"><?php echo $RightBox3Content; ?></textarea> <br> Box 3 Read More Link <input type="text" style="width:100%;" id="rhtbx3read" name="rhtbx3read" value="<?php echo $RightBox3ReadMore;?>"> <br><br><br> Image Name (Best Size is 210 X 150) <font color="#CCCCCC">Name of image uploaded through 'File Mgt'</font> <br> <input type="text" style="width:100%;" id="imgname2" name="imgname2" value="<?php echo $ImageName2; ?>"> <br> Image Title <br> <input type="text" style="width:100%;" id="imgtitle2" name="imgtitle2" value="<?php echo $ImageTitle2; ?>"> </td> </tr> <tr><td style="height:20px;"></td></tr> <tr> <td colspan="5" align="center"><input type="submit" id="save" name="save" value=" Submit " class="bttn"> <input type="button" id="back" name="back" value=" Cancel " class="bttn2" onClick="javascript:history.back();"> </td> </tr> <tr><td style="height:40px;"></td></tr> </TABLE> </tD> </TR> </table> <input type="hidden" name="id" id="id" value="<?php echo $id; ?>"> </form> </td> </tr> </table> </td> <td style="width:9px;"></td> </tr> <tr><td colspan="3" style="height:9px;"></td></tr> </table> </TD> </TR> <?php include_once('include/include_footer.php'); ?> </TABLE> <!-- End ImageReady Slices --> </BODY> </HTML>