?> "></script> <script src="<?php echo get_script('bootstrap-button.js'); ?> "></script> <script src="<?php //echo get_script('bootstrap-collapse.js'); ?> "></script> <script src="<?php echo get_script('bootstrap-carousel.js'); ?> "></script> <script src="<?php echo get_script('bootstrap-typeahead.js'); ?> "></script> <!-- HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="../assets/js/html5shiv.js"></script> <![endif]--> <!-- Fav and touch icons --> <style id="holderjs-style" type="text/css">.holderjs-fluid {font-size:16px;font-weight:bold;text-align:center;font-family:sans-serif;margin:0}</style><script type="text/javascript" src="chrome-extension://pmoflmbbcfgacopiikdcpmbiellfihdg/unity-api-page-proxy-builder-gen.js"></script> <script type="text/javascript" src="chrome-extension://pmoflmbbcfgacopiikdcpmbiellfihdg/unity-api-page-proxy.js"></script> </head> <?php if (!isset($pageName)) { $pageName = $title;
protected function crear_bd() { $consulta = "CREATE DATABASE nfn_web_{$this->folio}"; $rs = $this->sql_con->query($consulta); if ($rs === false) { return false; } else { $this->set_conexion('localhost', 'root', '@DatabasePlatform2015', "nfn_web_{$this->folio}"); require 'nfn_script.php'; $sql = explode(';', $consulta = get_script()); foreach ($sql as $consulta) { if ($consulta != '') { $rs2 = $this->sql_con->query($consulta); if ($rs2 === false) { return false; } } } $this->set_conexion('localhost', 'root', '@DatabasePlatform2015', "nfn_admin"); return true; } }
{ $result = Resources::alive(); handle_xml_result($result); } // ******************************************************** // MAIN //********************************************************* if (count($argv) < 2) { echo "Command required.\n"; show_usage(); return; } $cmd = $argv[1]; if ($cmd == "scripts") { if (count($argv) > 2) { get_script($argv[2]); } else { get_scripts(); } } else { if ($cmd == "jobs") { if (count($argv) > 2) { get_job($argv[2]); } else { get_jobs(); } } else { if ($cmd == "new-job") { if (count($argv) == 2) { echo "Error: more arguments required."; return;