} else { //echo "Ha ocurrido un error, trate de nuevo!"; } $imagen = $_FILES['uploadedfile']['name']; //Llamamos al metodo para insertar los datos $NoticiasBack = new NoticiasBack(); $mensajeOk = $NoticiasBack->updateNoticia($titulo, $texto, $descarga, $fecha, $imagen, $categoria); } } include 'views/back/layout.php'; ?> <?php startblock('contenido'); ?> <?php if (isset($_GET["id"])) { $CategoriasFront = new CategoriasFront(); $NoticiasFront = new NoticiasFront(); $NoticiasBack = new NoticiasBack(); $resultado = $NoticiasBack->editarNoticia($_GET["id"]); while ($row = $resultado->fetch_assoc()) { $imagen = $NoticiasFront->imagenPortadaNoticia($row['id']); $categoria = $CategoriasFront->categoriaNoticia($row['id']); ?> <div >
<?php define("TI_PROFILE", true); //For performance info. Look at apache headers for profile info. include '../stitch.php'; ?> <!DOCTYPE html> <html> <head></head> <body> <div style="padding: 10px; background-color: #f0f0f0;"> <?php defineblock('block1'); ?> <br/> <?php startblock('block2'); ?> Default text - block2 <?php endblock(); ?> </div> </body> </html>
</div> <!-- /.content-wrapper --> <?php ob_start(); include $_SERVER['DOCUMENT_ROOT'] . '/src/App/Views/admin/footer.php'; flushblocks(); ?> </div> <!-- ./wrapper --> <?php startblock('script_body_end_custom'); ?> <script> Kmiko.App.functions.require( ["ux.utils", "admin.formController", "admin.adminController"] , requiresLoad); function requiresLoad() { Kmiko.App.AdminController.init(); Kmiko.App.AdminController.setAdminHeaderTitle('employee.titles.list'); Kmiko.App.AdminController.setAdminHeaderSubtitle('employee.titles.list'); Kmiko.App.AdminController.setAdminContentTitle('employee.titles.list');
<? include dirname(__FILE__) . '/base.php' ?> <? startblock('title') ?> this is an even cooler title <? endblock() ?> <? startblock('content') ?> thie is some even cooler content <? endblock() ?>
$contactnumber = xss_echo($_POST["txtCnumber"]); $email = xss_echo($_POST["txtEmail"]); $mysqli = new mysqli(SERVER, USER, PASSWORD, DATABASE); $query = "insert into addpatient (patientname, age, housenumber, fathername, address, contactnumber, email) VALUES ('{$name}','{$age}','{$housenumber}','{$fathername}','{$address}','{$contactnumber}','{$email}')"; $r = mysqli_query($mysqli, $query); header('location: patient.php'); } ?> <?php endblock('filter'); ?> <?php startblock("content"); ?> <!--Your content goes here--> <form id="myform" class="edaa_form" name="myform" action="" method="post" enctype="multipart/form-data"> <div style="padding-left:12px;text-align:left;"> <div> <h2>Patient Form</h2> <hr /> <div style="font-size:14px;">Patient Name <span><?php ?> </span><span class="mandatory" style="color:#F00;">*</span> </div> <div style="height:2px;"></div> <div> <input type="text" id="txtName" name="txtName" size="40" value="" required="required"/><br/> <div id="myform_txtName_errorloc" class="error_msg"></div>
function simpleblock($name, $value = null, $filters = null) { startblock($name, $filters); echo $value; endblock($name); }
<!-- Bootstrap 3.3.6 --> <link rel="stylesheet" href="/public/resources/bower/AdminLTE/bootstrap/css/bootstrap.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css"> <!-- Ionicons --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css"> <!-- Theme style --> <link rel="stylesheet" href="/public/resources/bower/AdminLTE/dist/css/AdminLTE.min.css"> <!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. --> <link rel="stylesheet" href="/public/resources/bower/AdminLTE/dist/css/skins/_all-skins.min.css"> <?php endblock('styles_default'); ?> <?php startblock('script_head'); ?> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <?php endblock('script_head'); ?> <!-- =========================head====================== -->
<?php startblock('articulos-relacionados'); ?> <!--*** ARTICULOS RELACIONADOS ***--> <div class="bloque-posteos-relacionados bloque"> <div class="subtitulo titulo-gris"> <h3>Lo mas visto</h3> </div> <!--Bloque posteos--> <div class="posteos"> <!--item post--> <div class="item col-xs-12 col-sm-4 col-md-4 ol-lg-4"> <div class="imagen"> <img src="assets/images/foto-post-1.jpg"> </div> <div class="texto"> <h6 class="text-uppercase text-naranja">Noticias</h6> <h4>Se creó la reserva Nacional en Pizarro Salta</h4> <p>Lorem ipsum ad his scripta blandit partiendo, eum fastidii accumsan euripidis in, eum liber hendrerit an. </p> </div> </div> <!-- item post--> <!--item post--> <div class="item col-xs-12 col-sm-4 col-md-4 ol-lg-4"> <div class="imagen"> <img src="assets/images/foto-post-2.jpg"> </div> <div class="texto">
include 'footer.php'; include 'jsLinks.php'; ?> <!-- Include Scripts--> <script type="text/javascript" src="js/jQuery-hashchange.js"></script> <!-- Script (JS files) block Start --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-46860115-2', 'redirectme.net'); ga('send', 'pageview'); </script> <?php startblock('script'); ?> <?php endblock(); ?> <!-- Script block End --> </body> </html>
<?php include 'template.php'; ?> <?php startblock('block1'); ?> Overridded text 1 <?php endblock(); ?> <?php startblock('block2', TI::APPEND); ?> Appended text 2 <?php endblock();
<!DOCTYPE HTML> <html> <head> <? startblock("css_files");?> <style> body {} #content {margin-left:auto; margin-right:auto;padding: 20px; width: 1000px; background-color: #ffffff;} table { margin : 0 auto; width: 100%; border-collapse: collapse; } #vehicle, .journeys {margin-top:5px;} td {padding-left:10px;} tr {padding-top: 2px; padding-bottom: 2px; height: 40px; font-size: smaller;} tr.first_row, td.first_column {background-color:#dddddd; font-weight:bold;} table, th, td { border: 1px solid black; } .member_photo { width:200px; padding-top:10px; padding-bottom:10px;} #vehicle { } </style> </head> <body> <section id="content"> <button id="print-btn" style="background-color:red; font-size: larger">CLICK TO PRINT</button> <h2>Silk Route Motorcaravan Network Membership</h2> <table id="crew" class='crew'> <col width="200">
<?php require 'init2.php'; $origin = $_GET['orig']; $destination = $_GET['dest']; $date = $_GET['date']; $type = $_GET['type']; $results = search($origin, $destination, $date, $type); startblock('body'); ?> <div class="container-fluid" id="recent"> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <?php if (count($results) > 0 && NULL != $results) { ?> <?php for ($i = 0; $i < count($results); $i++) { ?> <div class="col-sm-12 single-post <?php if ($results[$i]->type == 'wanted') { echo "wanted"; } else { echo "offering"; } ?> "> <div class="row"> <div class="col-xs-4 block"> <?php
?> q <?php echo get_extended_block(); ?> <script> $( document ).ready(function(){ $('#menu_place').addClass('active'); }); </script> <?php endblock(); ?> <?php startblock('bodycontent'); ?> <br> <br> <div class="body-nav"> <div class="container"> <div class="row"> <div class="col-md-6 col-sm-6 col-xs-6"> <h1>船家</h1> </div> <div class="col-md-6 col-sm-6 col-xs-6"> <button onclick="location.href='index.php?show=new-owner'" type="button" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-plus-sign"></span> 新增</button> </div> </div> </div> </div>
<?php include 'views/front/layout.php'; ?> <?php startblock("contenido"); ?> <?php $FuncionesConfig = new FuncionesConfig(); $NoticiasFront = new NoticiasFront(); $CategoriasFront = new CategoriasFront(); if (isset($_SESSION['usuario'])) { foreach ($usuarioCategoria as $categoria) { ?> <!--*** CATEGORIA USUARIO ***--> <div class="bloque-posteos-relacionados bloque"> <div class="subtitulo titulo-naranja"> <h3> <i class="icon-menu logout icon glyphicon glyphicon-star "></i> <?php echo $categoria; ?> </h3> </div> <!--Bloque posteos--> <div class="posteos">
<?php require_once "base.php"; include 'index_load.php'; ?> <?php startblock('head'); ?> <link rel="stylesheet" type="text/css" href="css/index.css" /> <?php endblock('head'); ?> <article> <div> <div>새로운 문제 <div> <div><ul> <?php try { $LP = new loadProblem(); $news = $LP->newproblem(); } catch (Exception $e) { //header("Loaction:error.php"); } foreach ($news as $new) { ?>
<?php //startblock("content"); ?> <div style="height: 300px;"> </div> <?php //endblock("content"); ?> </div>--> <!-- middle content end--> <!--footer--> <?php startblock("footer"); ?> <div id = "footer" > <div class="copyright"> </div> <div class="footer_links"> <a href="#">Technology partner: Appirion Dental Software.</a> </div> </div> <?php endblock("footer"); ?> <!--footer end--> </div>
<div class="clear"><!-- Clear Section --></div> <input type='hidden' name='fldClientID' value='<?php echo $client->fldClientID; ?> '> <input type="submit" name="submit_changes" value="Save Changes"> </form> </article> <? endblock() //end section ?> <? // Clean Session unset($_SESSION['errors']); unset($_SESSION['message']); unset($_SESSION['update_flag']); ?> <? startblock('headercodes') ?> <? endblock() //end headercodes ?> <? startblock('extracodes') ?> head.js('assets/js/jvalidates.min.js'); head.ready(function() { $('.parentmenu').click(function() { $('.childmenu').slideToggle(); }); }); <? endblock() //end extracodes ?>
<html> <head> <? startblock('head') ?> <link rel='stylesheet' type='text/css' href='main.css' /> <script type='text/javascript' src='main.js'></script> <? endblock() ?> </head> <body> <div id='header'> <h1> <? emptyblock('title') ?> </h1> </div> <div id='content'> <? emptyblock('content') ?> </div> <div id='footer'> <? startblock('footer') ?> this is the default footer <? endblock() ?> </div> </body> </html>
<?php include_once './admin_base.php'; ?> <?php startblock('content'); $a = showTODAYex(date("Y-m-d")); foreach ($a as $var) { $data = array($var[0], $var[1], $var[2], $var[3], $var[4]); } $crossfit = str_replace('<iframe width="300" height="150" src="https://www.youtube.com/embed/', "", $var[2]); $crossfit = str_replace('" frameborder="0" allowfullscreen></iframe>', "", $crossfit); $crossfit = "https://www.youtube.com/watch?v=" . $crossfit; $weight = str_replace('<iframe width="300" height="150" src="https://www.youtube.com/embed/', "", $var[4]); $weight = str_replace('" frameborder="0" allowfullscreen></iframe>', "", $weight); $weight = "https://www.youtube.com/watch?v=" . $weight; ?> <form action="menu3.php" method="GET"> <div class="row" style="margin-left: auto; margin-right: auto;"> <div class="container-fluid col-md-4"> <h2>오늘의운동 수정하기 <br /> <?php echo $data[0]; ?> </h2> <div class="panel panel-default"> <div class="panel-heading">크로스핏</div> <div class="panel-body"> <div class="embed-responsive embed-responsive-16by9"> <textarea name="crossfitContents2" class="embed-responsive embed-responsive-16by9" style="width:100%;"><?php echo $data[1];
<?php endblock('content'); startblock('head'); echo "<title> JUCY | " . $title . "</title>"; endblock('head'); startblock('content-title'); echo $title; endblock('content-title'); ?> <?php startblock('extra'); ?> <script src="js/Chart.min.js"></script> <script> function showGraph(){ <?php $records = getGRAPH($_GET['id'], $_GET['exerciseName'], 8); $x_label = array(); $y_label = array(); ?> var barChartData = { // 가로축 라벨 <?php foreach ($records as $key => $value) { array_push($x_label, '"' . $value[1] . '"');
} else { echo "운동 기록이 없습니다."; } } ?> </div> </div> </div> <div class="container-fluid"> <div class="row fixButton" > <a href="./fillinDailyRecord.php<?php echo $day_string; ?> "><button type="button" class="btn btn-default btn-lg btn-block" style="width:120px; float:right; margin-right:30px;"><i class="fa fa-pencil"></i></button></a> </div> </div> <?php endblock('content'); startblock('head'); echo "<title> JUCY | " . $title . "</title>"; endblock('head'); startblock('content-title'); echo $title; endblock('content-title'); } else { echo '<script type="text/javascript">'; echo 'alert("접근권한이 없습니다.")'; echo '</script>'; }
<? function filter1($s) { return "*" . trim($s) . "*"; } ?> <html> <head> <? startblock('head') ?> <link rel='stylesheet' type='text/css' href='main.css' /> <script type='text/javascript' src='main.js'></script> <? endblock() ?> </head> <body> <div id='header'> <h1> <? emptyblock('title') ?> </h1> </div> <div id='content'> <? emptyblock('content') ?> </div> <div id='footer'> <? startblock('footer', 'filter1') ?> this is the default footer <? endblock() ?> </div> </body> </html>
</form> <a href="#">I forgot my password</a><br> <a href="register.html" class="text-center">Register a new membership</a> </div> <!-- /.login-box-body --> </div> <!-- /.login-box --> <?php endblock('body'); ?> <?php startblock('script_body_end'); ?> <!-- jQuery 2.2.0 --> <script src="/public/resources/bower/AdminLTE/plugins/jQuery/jQuery-2.2.0.min.js"></script> <!-- Bootstrap 3.3.6 --> <script src="/public/resources/bower/AdminLTE/bootstrap/js/bootstrap.min.js"></script> <!-- iCheck --> <script src="/public/resources/bower/AdminLTE/plugins/iCheck/icheck.min.js"></script> <script> $(function () { $('input').iCheck({ checkboxClass: 'icheckbox_square-blue', radioClass: 'iradio_square-blue', increaseArea: '20%' // optional
include 'base.php'; ?> <?php startblock('titulo'); ?> Ingresar <?php endblock(); ?> <?php startblock('cuerpo'); ?> <div class="container" style="margin-top:2em"> <div class="row"> <div class="col-md-4 col-md-offset-4 box"> <div class="text-center"> <h3>Datos Insertados</h3> </div> <form action="verificar.php" method="post"> </form> <div class="text-center"> Si aún no estás Registrado, que esperas! <a href="registrate.php">Registrate</a> </div> </div>