function sidebarEnd() { ?> </div> </div> </section> <?php footer(''); }
function ugig_err($err_code) { echo "<h1>Error</h1>"; echo "<br><br><br>"; switch ($err_code) { default: echo " "; break; } echo "<br><br><a href=\"./\">Click Here, and start over</a>"; footer(); die; }
function createPage($path, $menu = null) { ob_start(); chdir(dirname($path)); include $path; $content = ob_get_contents(); ob_end_clean(); page_create(strtok($content, "\n"), $menu); ob_start(); footer(); $footer = ob_get_contents(); ob_end_clean(); $content = substr($content, strpos($content, "\n") + 1); echo <<<EOF <div id="content"> \t{$content} </div> <div id="footer"> \t{$footer} </div> </body> </html> EOF; }
echo fontCursive($layout->text6_cursive); ?> </td> <td><?php echo fontBold($layout->text7_bold); ?> <?php echo fontCursive($layout->text7_cursive); ?> </td> <td><a href="?actie=wijzigen&id=<?php echo $layout->id; ?> " <i class="fa fa-pencil" title="Wijzigen"></i></a></td> <td><a href="?actie=verwijderen&id=<?php echo $layout->id; ?> " <i class="fa fa-times color-dark-red" title="Verwijderen"></i></a></td> </tr> </tbody> <?php } echo '</table>'; } } echo '</div> </div> </section>'; } footer('');
function htmlPage($title, $content) { echo "<!DOCTYPE html>\n<html>\n<head>\n\t<title>{$title}</title>\n\t<style>\n"; echo styling(); echo "</style>\n\t<script type=\"text/javascript\" src=\"https://www.google.com/jsapi\"></script>\n</head>\n<body>\n"; echo $content; echo footer(); echo "</body>\n</html>\n"; }
if (!empty($_SESSION['freecap_word_hash']) and !empty($_POST['word'])) { if (sha1(strtolower($_POST['word'])) == $_SESSION['freecap_word_hash']) { $_SESSION['freecap_word_hash'] = false; $word_ok = "yes"; } else { $word_ok = "no"; } } else { $word_ok = FALSE; } echo '<form id="preferences-captcha" action="' . basename($_SERVER['PHP_SELF']) . '?test_captcha" method="post" class="bordered-formbloc" >' . "\n"; echo '<div role="group" class="pref">'; echo '<div class="form-legend">' . legend('Captcha', 'legend-config') . '</div>' . "\n"; echo '<p>'; if ($word_ok !== FALSE) { if ($word_ok == "yes") { echo '<b style="color: green;">you got the word correct, rock on.</b>'; } else { echo '<b style="color: red;">sorry, that\'s not the right word, try again.</b>'; } } echo '</p>'; echo '<p><img src="../inc/freecap/freecap.php" id="freecap" alt="freecap"/></p>' . "\n"; echo '<p>If you can\'t read the word, <a href="#" onclick="new_freecap();return false;">click here to change image</a></p>' . "\n"; echo '<p>word above : <input type="text" class="text" name="word" /></p>' . "\n"; echo '<input class="submit blue-square" type="submit" name="valider" value="' . $GLOBALS['lang']['envoyer'] . '" />' . "\n"; echo '</div>'; echo '</form>' . "\n"; } footer('', $begin);
</div> <div class="form‐group"> <label for="txtMarca">Marca</label> <input type="text" <?php echo 'value="' . $modificar->marca . '"'; ?> class="form-control" id="txtMarca" name="txtMarca1" placeholder="Marca" required autofocus> </div> <input type="submit" value="Acutalizar" name="btnUpdVehi" class="btn btn-primary btn-block"> <input type="reset" value="Cancelar" class="btn btn-default btn-block"> </form> </div> </div> <?php footer(' $("#addVehi").click(function(){ $("#addForm").css("display","block"); $("#delForm").css("display","none"); $("#updForm").css("display","none"); }); $("#delVehi").click(function(){ $("#addForm").css("display","none"); $("#delForm").css("display","block"); $("#updForm").css("display","none"); }); $("#updVehi").click(function(){ $("#addForm").css("display","none"); $("#delForm").css("display","none"); $("#updForm").css("display","block"); }); ');
<table border="1" width="625px" style="text-align: center"> <tr> <td colspan="2"><b>Enter your Email address:</b></td> </tr> <tr> <td align="right">Email Address: </td> <td align="left"><input type="text" name="email" size="40"></td> </tr> <?php if ($message != '') { ?> <tr> <td colspan="2" align="center"><font color=red><b><?php print $message; ?> </b></font></td> </tr> <?php } ?> <tr> <td colspan="2" align="center"><input type="submit" name="reset" value="Reset Password"></td> </tr> </table> </center> </form> <?php footer("Return to Login", "login.php"); ?> </body> </html>
echo $date; ?> <?php echo $caption; ?> </h3> <hr /> <?php echo $text; ?> <hr /> <p class="c"> <a href="./public.php">[на главную страницу прессы]</a> </p> <?php } //окончание обработчки параметров } //конец обработки $error ?> </div> <div class="cleaner"> </div> </div> </div> <?php footer('tournament'); ?> </body> </html>
$class2 = "OsRow3"; $rownum = 0; } else { $class1 = "OsRow2"; $class2 = "OsRow4"; $rownum = 1; } // Now display the data echo " <tr id=" . $class1 . ">\n"; echo " <td id=" . $class2 . ">" . $callrow . "</td>\n"; // Call echo " <td id=" . $class2 . " align=\"right\">" . $myrow[1] . "</td>\n"; // Total echo " <td id=" . $class2 . ">" . $myrow[2] . "</td>\n"; // Comments echo " </tr>\n"; } echo "</table>\n"; echo "<P>\n"; dateLinks($period, "sar", $db); echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.14 \$ - \$Date: 2007/08/31 19:15:05 \$"); ?> </div> </body> </html>
function Promptmsg($msg, $tostep = null, $fromstep = null, $lastid = null) { @extract($GLOBALS, EXTR_SKIP); require R_P . 'lang/install_lang.php'; $lang['showmsg'] = $lang['showmsg_upto']; $lang['welcome_msg'] = $lang['welcome_msgupto']; if (empty($tostep)) { $url = 'javascript:history.go(-1);'; $lang['last'] = $lang['back']; } else { $url = "window.location.replace('{$basename}?step={$tostep}');"; $lang['last'] = $lang['redirect']; } $lang[$msg] && ($msg = $lang[$msg]); if (!empty($fromstep) && $times == $record && empty($lastid)) { list($stepnum, $steptype) = explode('_', $start); $end = (int) $stepnum + $record; strlen($steptype) && ($end .= "_{$steptype}"); $url = "window.location.replace('{$basename}?step={$fromstep}&start={$end}');"; } elseif (!empty($fromstep) && $times == $record && $lastid) { list($stepnum, $steptype) = explode('_', $start); $end = (int) $lastid; strlen($steptype) && ($end .= "_{$steptype}"); $url = "window.location.replace('{$basename}?step={$fromstep}&start={$end}');"; } if ($limit < $max) { $url = "window.location.replace('{$basename}?step={$fromstep}&start={$limit}');"; } $msg = preg_replace("/{#(.+?)}/eis", '$\\1', $msg); require R_P . 'lang/promptmsg.htm'; footer(); }
<button class="btn btn-default" type="button"><i class="fa fa-clock-o"></i></button> </span> </div> </div> </div> --> </div> <div id="emp_place_here"> </div> </div> </form> <?php } ?> </div> </div> </div> </div> <?php footer(); js();?> </body> <!-- END BODY --> </html>
function Promptmsg($msg, $toaction = null, $jump = false) { @extract($GLOBALS, EXTR_SKIP); $lang[$msg] && ($msg = $lang[$msg]); $msg = preg_replace("/{#(.+?)}/eis", '$\\1', $msg); $url = $backurl = 'javascript:history.go(-1);'; if (!$toaction) { $lang['last'] = $lang['back']; @unlink("log{$step}.txt"); } else { $url = "document.getElementById('install').submit();"; } ob_start(); require_once R_P . 'lang/header.htm'; require R_P . 'lang/promptmsg.htm'; footer(); }
</li> </ul> <a href="../" class="btn btn-l"><i class="fa fa-arrow-circle-o-left"></i> Back to Home</a> </div> </div> <!-- end signupWrapper --> </div> <!-- end participantSignup --> </div> </section> <!-- Footer --> <?php include "../includes/footer.php"; footer(true); ?> <!-- Javascript --> <?php include "../includes/js.php"; js(true); ?> </body> </html>
echo floraFilterUrl(["page" => $page - 1]); ?> " title="Vorige pagina" onClick="dynamicLink(this);" class="pull-left<?php echo $page > 1 ? '' : ' disabled'; ?> "><i class="fa fa-chevron-left"></i> Vorige pagina</a> <a href="<?php echo floraFilterUrl(["page" => $page + 1]); ?> " title="Volgende pagina" onClick="dynamicLink(this);" class="pull-right<?php echo $page < $pages ? '' : ' disabled'; ?> ">Volgende pagina <i class="fa fa-chevron-right"></i></a> <div class="text-center">Pagina <?php echo $page; ?> van de <?php echo $pages; ?> pagina's</div> </div> </div> <?php } ?> </div> </div> </section> <?php footer('<script src="/js/flora-database.js"></script>');
print $row['Grade']; ?> </td> <td width="70" align="center"> <?php print $row['ParticipantID']; ?> </td> <td> <a href="AdminSoloEvents.php?ID=<?php print $row['ParticipantID']; ?> " > <?php print $row['LastName'] . ", " . $row['FirstName']; ?> </a> </td> </tr> <?php } ?> </table> <?php footer("", ""); ?> </body> </html>
$manhours = $myrow[3] / $myrow[4] * $myrow[1]; $manhours = floor(100 * $manhours + 0.005) / 100; $TMH = $TMH + $manhours; } } } // Display totals if ($rownum != 0) { $id = 'id="OsRow3"'; echo " <tr id=OsRow>\n"; $rownum = 0; } else { $id = 'id="OsRow4"'; echo " <tr id=OsRow2>\n"; $rownum = 1; } echo "<th align=\"left\">{$periodname}<td {$id} align=\"right\">" . $TQNI . "<td {$id} align=\"right\">" . $TQTC . "<td {$id} align=\"right\">" . round($TQTR) . "<td {$id} align=\"right\">" . $TSess . "<td {$id} align=\"right\">" . round($TMH) . "</tr>\n"; } echo "</table>\n"; echo "<p></p>\n"; echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.2 \$ - \$Date: 2012-06-15 14:15:27-05 \$"); ?> </div> </body> </html>
// sent echo " <td id=" . $class2 . " align=\"right\">" . $myrow[4] . "</td>\n"; // recd if ($Dbo == 0) { echo " <td id=" . $class2 . " align=\"right\">" . $myrow[5] . "</td>\n"; } else { echo " <td id=" . $class2 . " align=\"right\"><b>" . $myrow[5] . "</b></td>\n"; } // deld if ($Tbo == 0) { echo " <td id=" . $class2 . " align=\"right\">" . $myrow[1] . "</td>\n"; } else { echo " <td id=" . $class2 . " align=\"right\"><b>" . $myrow[1] . "</b></td>\n"; } // Total echo " </tr>\n"; } echo "</table>\n"; echo "<P>\n"; dateLinks($period, "bpl", $db); echo "</center>\n"; ?> </div> <?php sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.16 \$ - \$Date: 2008-01-22 19:28:25-05 \$"); ?> </div> </body> </html>
$q6 = $q6 . $testperiod; $r6 = getResult($q6, $db); $row6 = getRow($r6, $db); if ($row6[0] > 0) { $url = "Summary.php?period=" . $testperiod; echo " <td class=\"" . $rowclass . "\"><a href=\"" . $url . "\">Fwd 1m></a></td>\n"; } else { echo " <td class=\"" . $rowclass . "\">Fwd 1m></td>\n"; } $q6 = "SELECT COUNT(*) FROM `arpsc_ecrept` WHERE `period`="; $testperiod = (int) $p9 + 3; $q6 = $q6 . $testperiod; $r6 = getResult($q6, $db); $row6 = getRow($r6, $db); if ($row6[0] > 0) { $url = "Summary.php?period=" . $testperiod; echo " <td class=\"" . $rowclass . "\"><a href=\"" . $url . "\">Fwd 1Q>></a></td>\n"; } else { echo " <td class=\"" . $rowclass . "\">Fwd 1Q>></td>\n"; } echo " </table>\n"; echo " <p> </p>\n"; echo " </center>"; echo " </div>\n\n"; sectLeaders($db); footer($starttime . "Z", $maxdate, "\$Revision: 1.0 \$ - \$Date: 2008-10-15 15:08:57-04 \$"); ?> </div> </body> </html>
<?php require_once 'html.php'; require_once 'settings.php'; require_once '../src/Attendly.php'; $api = new Attendly(API_USER, API_KEY); // Get a group $groups = $api->group_list(); // Get the events in that group $out = $api->event_list('group', $groups['Result'][0]['ID']); echo head(); echo '<h1>Event list for group <small>' . $groups['Result'][0]['Name'] . '</small></h1><pre><code class="JSON">'; echo print_r($out, TRUE); echo '</code></pre>' . footer();
print $NewUserid; ?> " name=Userid> <input type="hidden" value="update" name=action> <?php } else { if ($mode == 'add') { ?> <input type="submit" value="Add" name="add"> <input type="hidden" value="add" name=action> <?php } else { if ($mode == 'view') { ?> <input type="hidden" value="update" name=action> <?php } } } ?> <br> </p> </form> <?php footer("Return to User List", "Users.php"); ?> </body> </html> <?php }
<input type="hidden" name="parentid" value="<?php echo $parentid; ?> "> <p>Title:<br /> <input type="text" name="commenttitle" size="40" maxlength="60" value="<?php echo $title; ?> " /></p> <p>Comment Text:<br /> <textarea name="article" cols="60" rows="5"><?php if (isset($_POST['article'])) { echo $_POST['article']; } ?> </textarea> </p> <p> <input type="submit" name="submit" value="Submit" /><input type="reset" Value="Clear All" /></p> </form> </td> <?php // Include the HTML footer file. } footer($title); ?>
$Q2 = "SELECT MAX(`PERIOD`) FROM `arpsc_ecrept` " . "WHERE `county`='" . $row1[0] . "'"; $last = singleResult($Q2, $db); $Q3 = "SELECT `ARESMEM` FROM `arpsc_ecrept` " . "WHERE `COUNTY`='" . $row1[0] . "' " . "AND `PERIOD`=" . $last; $latest = singleResult($Q3, $db); $Q4 = "SELECT `ARESMEM` FROM `arpsc_ecrept` " . "WHERE `COUNTY`='" . $row1[0] . "' " . "AND `PERIOD`=0"; $zeroth = singleResult($Q4, $db); echo "<p>" . $row1[0] . ": " . $last . ", "; if ($latest == $zeroth) { echo $latest . ", " . $zeroth . "</p>\n"; } else { if ($zeroth > 0) { echo "<b>" . $latest . ", " . $zeroth . "</b><br/>\n"; $Q5 = 'UPDATE `arpsc_ecrept` SET `ARESMEM`=' . $latest . " WHERE `COUNTY`='" . $row1[0] . "' AND `PERIOD`=0"; echo "---" . $Q5 . "---</p>\n"; $R5 = getResult($Q5, $db); } else { echo "<span style=\"color: red;\">" . $latest . ", " . $zeroth . "</span><br />\n"; $Q5 = "INSERT INTO `arpsc_ecrept` (PERIOD,COUNTY,ARESMEM,UPDATED) " . "VALUES(0,'" . $row1[0] . "'," . $latest . ",NOW());"; echo "---" . $Q5 . "---</p>\n"; $R5 = getResult($Q5, $db); } } } echo " </div>\n"; sectLeaders($db); footer($starttime, "2010-11-11", "\$Revision: 1.1 \$ - \$Date: 2010-11-11 10:12:48-04 \$"); ?> </div> </body> </html>
function GoDaddy_page() { $base = get_base_address(); heading(); $inst_str = '<h4>GoDaddy Installation Instructions</h4>'; $inst_str .= '<p>It appears that you are hosted with GoDaddy (<a target="_blank" href="http://www.godaddy.com/">www.godaddy.com</a>). '; $inst_str .= "If that is <b>not</b> the case then please <a href=\"{$base}&page=default&host=ngd\">click here to go to the main page of this installation wizard</a>.</p>"; $inst_str .= "<p>If you have already installed the loader then please <a href=\"{$base}&page=loader_check\" onclick=\"showOverlay();\">click here to test the loader</a>.</p>"; echo $inst_str; if (is_ms_windows()) { GoDaddy_windows_instructions(); } else { GoDaddy_linux_instructions($_SESSION['godaddy_root']); } send_stats('gd_default'); footer(true); }
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <link href="../za-base/za.css" rel="stylesheet" type="text/css" /> <?php require "../za-base/za-headers.php"; require "pre-headerbar.php"; ?> <title><?php echo $hostname; ?> Submission Checker Status</title> </head> <body> <?php echo headers("submission checker", gen_prethirdbar("log")); ?> <div class="content"> <h1>Log</h1> <pre> <?php echo file_exists($logfile) ? htmlspecialchars(trim(file_get_contents($logfile))) : ""; ?> </pre> </div> <?php echo footer(); ?> </body> </html>
adminnav(); ?> <div class="container"> <section> <h2>Wachtwoord wijzigen</h2> <?php wachtwoord_wijzig(); ?> </section> <?php print footer(); ?> </div> <!-- /container --> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="<?php if (!is_dir('admin')) { print '../'; } ?> core/js/bootstrap.js"></script> </body> </html>
function GoDaddy_page($home_dir) { $self = get_self(); heading(); $inst_str = '<h4>GoDaddy Installation Instructions</h4>'; $inst_str .= '<p>It appears that you are hosted with GoDaddy (<a target="_blank" href="http://www.godaddy.com/">www.godaddy.com</a>). '; $inst_str .= "If that is <b>not</b> the case then please <a href=\"{$self}?host=ngd\">click here to go to the main page of this installation wizard</a>.</p>"; $inst_str .= "<p>If you have already installed the loader then please <a href=\"{$self}?page=loader_check\">click here to test the Loader</a>.</p>"; echo $inst_str; if (is_ms_windows()) { GoDaddy_windows_instructions(); } else { GoDaddy_linux_instructions($home_dir); } footer(true); }
$SQL = "SELECT content FROM `textblocks` WHERE `pageid`=" . $Topic . " AND sequence=0"; $result = getResult($SQL, $db); if ($myrow = getRow($result, $db)) { echo " <center>\n"; echo " <p><h1> " . $myrow[0] . "</h1></p>\n"; echo " </center>\n"; // Get the actual text for this topic $SQL = "SELECT sequence,content,updated" . " FROM `textblocks`" . " WHERE `pageid`='" . $Topic . "' ORDER BY sequence"; $result = getResult($SQL, $db); // Loop through the data displaying each paragraph $rownum = 1; while ($myrow = getRow($result, $db)) { if ($myrow[0] > 0) { echo " <p class=textbody>" . $myrow[1] . "</p>\n"; } if ($myrow[2] > $maxdate) { $maxdate = $myrow[2]; } } } else { echo "<br> <br> <br> <br> <br>\n"; echo "<center><h2>Sorry, the page you reqested does not exist</h2></center>\n"; echo "<br> <br> <br> <br> <br>\n"; } echo "</div>\n"; sectLeaders($db); footer($starttime, $maxdate, "\$Revision: 1.5 \$ - \$Date: 2007/08/31 16:03:49 \$"); ?> </body> </html>
} list($guidename, $forumtitle) = $pwforum->getTitle(); if ($cyid) { require_once R_P . 'apps/groups/lib/colony.class.php'; $newColony = new PwColony($cyid); $guidename .= "<em>></em><a href=\"thread.php?cyid={$cyid}\">" . $newColony->info['cname'] . "</a>"; } $db_metakeyword = str_replace(array('|', ' - '), ',', $forumtitle) . 'phpwind'; list($sellMoney, $hideMoney) = array(0, 0); $checkedAutourl = $winddb['postnum'] < $_G['posturlnum'] && !$pwpost->isGM ? 'disabled' : 'checked'; require_once R_P . 'require/header.php'; $msg_guide = $pwforum->headguide($guidename); $postMinLength = empty($pwpost->forum->foruminfo['forumset']['contentminlen']) ? $db_postmin : $pwpost->forum->foruminfo['forumset']['contentminlen']; require_once PrintEot('post'); CloudWind::yunSetCookie(SCR); footer(); } elseif ($_POST['step'] == 2) { S::gp(array('atc_title', 'atc_content'), 'P', 0); S::gp(array('replayorder', 'atc_anonymous', 'atc_newrp', 'atc_tags', 'atc_hideatt', 'magicid', 'magicname', 'atc_enhidetype', 'atc_credittype', 'flashatt', 'buildIfcheck', 'robstarttime', 'robendtime', 'robendbuild', 'robawardbuilds', '_usernames', 'replyrewardcredit'), 'P'); S::gp(array('atc_iconid', 'atc_email', 'digest', 'topped', 'atc_hide', 'atc_requireenhide', 'atc_rvrc', 'atc_requiresell', 'atc_money', 'atc_usesign', 'atc_html', 'p_type', 'p_sub_type', 'atc_convert', 'atc_autourl', 'replyreward'), 'P', 2); S::gp(array('iscontinue'), 'P'); //ajax提交时有敏感词时显示是否继续 $db_sellset['price'] && (int) $atc_money > $db_sellset['price'] && Showmsg('post_price_limit'); require_once R_P . 'require/bbscode.php'; $postdata = new topicPostData($pwpost); $replayorder = $replayorder == 1 || $replayorder == 2 ? $replayorder : 0; $postdata->setStatus('3', decbin($replayorder)); $postdata->setWtype($p_type, $p_sub_type, $t_per, $t_db, $db_forcetype); $postdata->setTitle($atc_title); !$postdata->setContent($atc_content) && Showmsg('post_price_limit'); $postdata->setConvert($atc_convert, $atc_autourl);
{ if ($level >= $max) { return '<li class="none">Recursion Limit</li>'; } $scan = @scandir($dir); if ($scan === false) { return '<li class="dir">Access Denied</li>'; } $files = ''; $folders = ''; foreach ($scan as $file) { if ($file === '.' || $file === '..' && $level > 0) { continue; } if (is_file("{$dir}/{$file}")) { $files .= '<li class="' . get_Type(end(explode('.', $file))) . '"><a href="' . str_replace(' ', "%20", html("../{$dir}/{$file}")) . '">' . html($file) . '</a></li>'; } else { if ($file === '..') { $folders .= '<li class="parent"><a href="' . $file . '/">Parent Directory</a></li>'; } else { $folders .= '<li class="dir"><a href="' . str_replace(' ', "%20", html("../{$dir}/{$file}/")) . '">' . html($file) . '</a><ul>' . recursive_scandir("{$dir}/{$file}", $level + 1, $max) . '</ul></li>'; } } } return (count($scan) == 2 ? $folders . '<li class="none">Empty Directory</li>' : $folders) . $files; } echo recursive_scandir("..{$here}", 0, 5); ?> </ul></div><?php footer($path);