Server IP : 127.0.0.2 / Your IP : 18.191.223.26 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 include_once('include/include_header.php'); ?> <?php require_once('include/db-config.php'); $sql= "select PageID, PageTitle, MetaKeyword, MetaDescription, OtherScript from seo_details"; $result=mysqli_query($conn,$sql) or die(mysqli_error()); $Home_PageTitle = ""; $Home_MetaKeyword = ""; $Home_MetaDescription = ""; $Home_OtherScript = ""; $Articles_PageTitle = ""; $Articles_MetaKeyword = ""; $Articles_MetaDescription = ""; $Articles_OtherScript = ""; $Session_PageTitle = ""; $Session_MetaKeyword = ""; $Session_MetaDescription = ""; $Session_OtherScript = ""; while($row=mysqli_fetch_array($result)) { if($row['PageID'] == "Home") { $Home_PageTitle = $row['PageTitle']; $Home_MetaKeyword = $row['MetaKeyword']; $Home_MetaDescription = $row['MetaDescription']; $Home_OtherScript = $row['OtherScript']; } else if($row['PageID'] == "Session") { $Session_PageTitle = $row['PageTitle']; $Session_MetaKeyword = $row['MetaKeyword']; $Session_MetaDescription = $row['MetaDescription']; $Session_OtherScript = $row['OtherScript']; } else if($row['PageID'] == "Articles") { $Articles_PageTitle = $row['PageTitle']; $Articles_MetaKeyword = $row['MetaKeyword']; $Articles_MetaDescription = $row['MetaDescription']; $Articles_OtherScript = $row['OtherScript']; } } ?> <!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"> <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;"> <?php if(isset($_GET['r'])) if($_GET['r'] == '1') { echo "<font class='success-text'><b>You have successfully updated the content.</b></font>"; } ?> </td> </tr> <tr> <td> <form action="seo_action.php" method="post" 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 SHOP MAIN PAGE CONTENT</td></tr> <tr><td style="height:10px;"></td></tr> <TR> <tD> <TABLE border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td colspan="3" class="mainhead" style="padding-top:20px;">Home Page Title, Meta Keyword, Meta Description, Othr Script</td> </tr> <tr> <td style="width:30px;"></td> <td class="normal_text" valign="top"> Title </td> <td> <input type="text" style="width:800px;" id="Home_PageTitle" name="Home_PageTitle" value="<?php echo $Home_PageTitle; ?>"> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Meta Keyword </td> <td> <textarea style="width:800px; height:70px;" id="Home_MetaKeyword" name="Home_MetaKeyword"><?php echo $Home_MetaKeyword; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Meta Description </td> <td> <textarea style="width:800px; height:70px;" id="Home_MetaDescription" name="Home_MetaDescription"><?php echo $Home_MetaDescription; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Other Script </td> <td> <textarea style="width:800px; height:100px;" id="Home_OtherScript" name="Home_OtherScript"><?php echo $Home_OtherScript; ?></textarea> </td> </tr> <tr> <td colspan="3" class="mainhead" style="padding-top:20px;">Articles Page Title, Meta Keyword, Meta Description, Othr Script</td> </tr> <tr> <td style="width:30px;"></td> <td class="normal_text" valign="top"> Title </td> <td> <input type="text" style="width:800px;" id="Articles_PageTitle" name="Articles_PageTitle" value="<?php echo $Articles_PageTitle; ?>"> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Meta Keyword </td> <td> <textarea style="width:800px; height:70px;" id="Articles_MetaKeyword" name="Articles_MetaKeyword"><?php echo $Articles_MetaKeyword; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Meta Description </td> <td> <textarea style="width:800px; height:70px;" id="Articles_MetaDescription" name="Articles_MetaDescription"><?php echo $Articles_MetaDescription; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Other Script </td> <td> <textarea style="width:800px; height:100px;" id="Articles_OtherScript" name="Articles_OtherScript"><?php echo $Articles_OtherScript; ?></textarea> </td> </tr> <tr> <td colspan="3" class="mainhead" style="padding-top:20px;">Session Page Title, Meta Keyword, Meta Description, Othr Script</td> </tr> <tr> <td style="width:30px;"></td> <td class="normal_text" valign="top"> Title </td> <td> <textarea style="width:800px; height:70px;" id="Session_PageTitle" name="Session_PageTitle"><?php echo $Session_PageTitle; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Meta Keyword </td> <td> <textarea style="width:800px; height:70px;" id="Session_MetaKeyword" name="Session_MetaKeyword"><?php echo $Session_MetaKeyword; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Meta Description </td> <td> <textarea style="width:800px; height:70px;" id="Session_MetaDescription" name="Session_MetaDescription"><?php echo $Session_MetaDescription; ?></textarea> </td> </tr> <tr> <td></td> <td class="normal_text" valign="top"> Other Script </td> <td> <textarea style="width:800px; height:100px;" id="Session_OtherScript" name="Session_OtherScript"><?php echo $Session_OtherScript; ?></textarea> </td> </tr> <tr><td style="height:20px;"></td></tr> <tr> <td colspan="2"></td> <td align="left"> <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:20px;"></td></tr> </table> </td> </tr> </table> </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>