/** * Show the form for creating a new resource. * * @return \Illuminate\Http\Response */ public function create() { if (!Auth::user()->Customer->default_callerid) { about(404); } return view('user.create'); }
/** * Output a information page for framework. * */ function info_levis() { if (auth() === false) { return; } about(); exit; }
<?php $page = $_REQUEST['page']; include 'database-connection.php'; //otherwise, connection successfully echo "connected successfully"; //connect to the database $connection->select_db('fitl'); //Determine what page to show if ($page == 'show') { $id = $_REQUEST['id']; show($id); } elseif ($page == 'create') { create(); } elseif ($page == 'about') { about(); } //load the show page function show($id) { global $connection; $object = array('title' => '', 'question' => '', 'description' => '', 'code' => '', 'date' => ''); //Query to select the object $sql = 'SELECT * FROM pairs WHERE id = ' . $id; //Execute query $result = $connection->query($sql); //Get the object if ($result->num_rows > 0) { $object = $result->fetch_assoc(); //echo '<pre>'; //print_r($object);
echo cores("g2") . "'-----------------------------------------------------------------------------'\n"; } saida: } #################################################################################################### ## CONFIGS $OPT = array(); $OPT["db"] = array(0); if (!isset($oo["banner-no"])) { echo banner(); } if (isset($oo["h"]) or isset($oo["help"])) { echo help(); } if (isset($oo["a"]) or isset($oo["about"])) { echo about(); } if (isset($oo["s"])) { $OPT["find"] = $oo["s"]; } else { $O = 1; } if (isset($oo["search"])) { $OPT["find"] = $oo["search"]; } else { $O = $O + 1; } if (isset($oo["p"])) { $OPT["proxy"] = $oo["p"]; } if (isset($oo["proxy"])) {
<?php /* * This file is part of Infoschool - a web based school intranet. * Copyright (C) 2004 Maikel Linke */ include 'var.php'; $output->headline[] = 'About'; $edit = array(); if (is_admin()) { $edit[] = array(); } $v['provider'] = html_br(about('provider')); $v['admin'] = html_br(about('admin')); $v['edit'] = $edit; $content = new tmpl('index.html', $v); $output->out($content);
//---sharewaves---// if (strpos($p, "share-waves.com") !== FALSE) { header("Location: https://google.com/search?q=recursion"); } elseif (strpos($p, "chrome://") !== FALSE) { header("Location: https://google.com/search?q=recursion"); } elseif ($p == "upupdowndownleftrightleftrightba") { include "secretcode.php"; $embedcode = secretcode($p); } elseif ($pagetype == "special") { //---welcome---// if ($p == "welcome") { include "welcome.php"; $embedcode = welcome($wavephoto, $myid); } elseif ($p == "about") { include "about.php"; $embedcode = about($wavephoto, $wavephoto2); } elseif ($p == "learnmore") { include "learnmore.php"; $embedcode = learnmore($wavephoto); } elseif ($p == "signup") { header("Location: signup.php"); } elseif ($p == "signin") { header("Location: signin.php"); } elseif ($p == "forgotpassword") { include "forgotpassword.php"; $embedcode = forgotpassword($wavephoto); } elseif ($p == "statistics") { include "statistics.php"; $embedcode = statistics($wavephoto); } elseif ($p == "faq") { include "faq.php";
statistics($listId, $listType, $mailingId, $message, $task, $action); break; case 'configuration': if ($GLOBALS[ACA . 'integration'] == '0' or $GLOBALS[ACA . 'cb_integration'] == '0') { $xf = new xonfig(); if (acajoom::checkCB()) { $xf->loadConfig(); } } configuration($action, $task); break; case 'update': update($action, $task); break; case 'about': about($message, $task, $action); break; case 'cpanel': case 'help': case 'learn': backHTML::controlPanel(); break; case 'start': backHTML::_header(_ACA_MENU_CONF, 'acajoom_banner.png', $message, $task, $action); backHTML::controlPanel(); break; default: backHTML::controlPanel(); break; } backHTML::_footer();
function setting() { $settings = array(); require_once JPATH_SITE . "/components/com_seftranslate/languages.conf.php"; //print_r($settings); ?> <form action="index.php" method="post" name="adminForm" id="adminForm" > <?php jimport('joomla.html.pane'); //Get JPaneTabs instance $myTabs =& JPane::getInstance('tabs', array('startOffset' => 0)); $output = ''; //Create Pane echo $myTabs->startPane('pane'); //Create 1st Tab echo $myTabs->startPanel('General', 'tab1'); settingGeneral($settings); echo $myTabs->endPanel(); //Create 3rd Tab echo $myTabs->startPanel('Map', 'tab3'); settingsMap($settings); echo $myTabs->endPanel(); echo $myTabs->startPanel('About', 'tab4'); about($settings); echo $myTabs->endPanel(); echo $myTabs->startPanel('Help', 'tab5'); help($settings); echo $myTabs->endPanel(); //End Pane echo $myTabs->endPane(); ?> <input name="task" id="task" value="apply" type="hidden"> <input name="option" id="option" value="com_seftranslate" type="hidden"> </form> <?php }
<?php /* * This file is part of Infoschool - a web based school intranet. * Copyright (C) 2004 Maikel Linke */ include 'var.php'; function about_save($name, $text) { global $db; $db->update('about set text="' . $text . '" where name="' . $name . '"'); redirect('./'); } $output->secure('admin'); $output->headline[] = 'About'; $edit = $_GET['edit']; if (isset($_POST['text'])) { about_save($edit, $_POST['text']); } $v['edit'] = $edit; $v['text'] = about($edit); $content = new tmpl('edit.html', $v); $output->out($content);
function cp() { global $kioskMode; if (!loggedIn() && !$kioskMode) { return 'You\'re not logged in!'; } return ' <div class="section" id="preferences"> <span style="display: none;" id="cp-loaded">true</span> <div class="header"> <h1>YShout.Preferences</h1> <a href="#" class="logout">Logout</a> </div> <ul class="subnav"> <li id="sn-administration"><a href="#">Administration</a></li> <li id="sn-display"><a href="#">Display</a></li> <li id="sn-resetall"><a href="#">Reset All</a></li> <span class="sn-loading">Loading...</span> </ul> ' . preferencesForm() . ' </div> <div class="section" id="about"> <div class="header"> <h1>YShout.About</h1> <a href="#" class="logout">Logout</a> </div> <ul class="subnav"> <li id="sn-about"><a href="#">About</a></li> <li id="sn-contact"><a href="#">Contact</a></li> <span class="sn-loading">Loading...</span> </ul> ' . about() . ' </div> <div class="section" id="bans"> <div class="header"> <h1>YShout.Bans</h1> <a href="#" class="logout">Logout</a> </div> <ul class="subnav"> <li id="sn-unbanall"><a href="#">Unban All</a></li> <span class="sn-loading">Loading...</span> </ul> ' . bansList() . ' </div>'; }
if ($user) { $bLogged = connect($configFile, $user, $password); } if ($bLogged) { $bEnd = true; $page_content .= '<p class="notif">Logged in</p>'; $note = ""; } break; case 'q': $page_content = logout(); $bEnd = true; $note = ""; break; case 'about': $page_content .= about(); $bEnd = true; $note = ""; break; default: $page_content .= '<p class="error">Syntax error : try --h for help</p>'; $bEnd = true; $note = ""; break 2; } } } if (!$bEnd && $bLogged) { if (!file_exists($filename)) { add($filename); }
// $count = $count +1; // if($count < 3){ // $output = $output . '<a href="'.$flickr.'">'; // $output = $output . '<li style="background:url('.$image.')center; background-size:cover;"></li>'; // $output = $output . '</a>'; // } // } // $output = $output . '</div>'; // $output = $output . "<p>I update my Flickr account whenever I get a chance. I enjoy taking photos for fun as a way to capture travel experiences, and ... yeah, for my screen saver — HA!</p>"; // $output = $output . '</ul>'; /*———————————————————————————————————*/ $output = $output . '</div>'; // end DIV containerinfo return $output; } $_about = about($array_about); ?> <?php function contactform() { if (isset($_GET['status']) and $_GET['status'] == 'thanksman') { $output = $output . '<p class="content" style="margin-bottom:20px;"><span class="white">Thanks for the message! I\'ll get back to you shortly!</span></p>'; $output = $output . '<p style="margin:-10 0 20px 0;padding:0;" class="content"><i>In the meantime, feel free to add me in one of the social networks that I\'m currently active in shown below.</i></p>'; } else { $output = $output . '<p class="content">Any questions or ideas on a project? Feel free to drop me a message below!</p>'; $output = $output . '<form method="post">'; $output = $output . '<div class="input_group">'; $output = $output . '<input type="text" name="name" placeholder="Name">'; $output = $output . '<input type="email" name="email" placeholder="E-Mail">'; $output = $output . '</div>';
* */ $ussd_string_exploded = explode("*", $ussd_string); // Get menu level from ussd_string reply $level = count($ussd_string_exploded); if ($level == 1 or $level == 0) { display_menu(); // show the home/first menu } if ($level > 1) { if ($ussd_string_exploded[0] == "1") { // If user selected 1 send them to the registration menu register($ussd_string_exploded, $phone, $dbh); } else { if ($ussd_string_exploded[0] == "2") { //If user selected 2, send them to the about menu about($ussd_string_exploded); } } } /* The ussd_proceed function appends CON to the USSD response your application gives. * This informs Africa's Talking USSD gateway and consecuently Safaricom's * USSD gateway that the USSD session is till in session or should still continue * Use this when you want the application USSD session to continue */ function ussd_proceed($ussd_text) { echo "CON {$ussd_text}"; } /* This ussd_stop function appends END to the USSD response your application gives. * This informs Africa's Talking USSD gateway and consecuently Safaricom's * USSD gateway that the USSD session should end.
/** * Load the view files. * * @param string|null $target * @param bool $return * * @return void */ function view($target = null, $return = false) { global $_params, $_view; static $complete = false; if ($_REQUEST['_mode'] !== 'test_exec' && $complete) { return; } if (empty($GLOBALS['_routing'])) { $routing = ''; } else { $routing = $GLOBALS['_routing'] . '/'; } $directory = 'app/views/' . $routing . $_REQUEST['_mode'] . '/'; $file = $_REQUEST['_work'] . '.php'; if ($return) { ob_start(); } if ($target) { import('app/views/' . $target, false); } elseif (is_file(MAIN_PATH . MAIN_APPLICATION_PATH . $directory . $file)) { import($directory . $file, false); } elseif (is_file(MAIN_PATH . MAIN_APPLICATION_PATH . $directory . MAIN_DEFAULT_WORK . '.php')) { import($directory . MAIN_DEFAULT_WORK . '.php', false); } elseif (is_file(PAGE_PATH . implode('/', $_params) . '.php')) { import(PAGE_PATH . implode('/', $_params) . '.php', false); } elseif ($_REQUEST['_mode'] === MAIN_DEFAULT_MODE && $_REQUEST['_work'] === MAIN_DEFAULT_WORK) { about(); } elseif (is_file(MAIN_PATH . MAIN_APPLICATION_PATH . 'app/views/404.php')) { import('app/views/404.php'); } else { header('HTTP/1.0 404 Not Found'); error('404 Not Found'); } if ($return === false) { $complete = true; } if ($return) { $contents = ob_get_contents(); ob_end_clean(); return $contents; } else { return; } }
<script src="<?php echo "$root/"; ?>js/jquery.easing.1.3.js"></script> <!-- jQuery Easing - Required for Lightbox + Pie Charts--> <!-- Bootstrap --> <script src="<?php echo "$root/"; ?>js/bootstrap.min.js"></script> */ ?> <!-- All JS functions --> <script src="<?php echo "{$root}/"; ?> js/jquery.poshytip.min.js" type="text/javascript" ></script> <script src="<?php echo "{$root}/"; ?> js/jquery-editable-poshytip.min.js" type="text/javascript" ></script> <script> <?php about($is_owner, $uid, $root, $gender); ?> function toggle_file(value) { if (!value) $(":file").filestyle(); else $(':file').filestyle('destroy', true); } </script> </body> </html>