?> "><?php echo $result['nama_alat']; ?> </option> <?php } ?> </select> <input class = 'span4 form-control button' name = 'refresh' type = 'submit' value = 'Refresh'/> </div> </form> <?php if (isset($_POST['refresh'])) { $month = $_POST['month']; $Month = getMonthString($_POST['month']); $year = $_POST['year']; $alat = $_POST['alat']; } echo '<h2>' . $Month . ' ' . $year . '</h2>'; echo '<h4>Nama Alat : ' . $alat . '</h4>'; echo draw_calendar($conn, $month, $year, $alat); ?> </div> <div id ="form"> <h3>Form Peminjaman</h3> <form name ='form_peminjaman' action='controller/transaksi.php' onsubmit="return validateDate()" method = 'post'> <h5>ID Peminjam :</h5> <input type = 'number' min='0' name = 'id' placeholder = 'NIM / NIK Peminjam' required/> <h5>Kode Alat :</h5>
?> de <?php echo getMonthString(date('m', $unix)); ?> <?php echo " de " . date('Y', $unix); ?> " class="date-bar"> <p ga-event="Click,Nota Header,Intenta interactuar con la fecha"><?php echo getDayString(date('N', $unix)); ?> <span><?php echo date('d', $unix); ?> de <?php echo getMonthString(date('m', $unix)); ?> </span><?php echo date('Y', $unix) != date('Y') ? " de " . date('Y', $unix) : ""; if ($article->show_hour) { ?> | <?php echo $article->hour; } ?> </p> <span data-unix="<?php echo $unix; ?> " class="time-info"></span> </div>
?> opinion"><img src="<?php echo layout('ico/header/reviews.png'); ?> " alt="Opinión" /></a> <a ga-event="Click,Header,Icono Transito" <?php echo $this->Data->clientID ? 'target="_blank"' : ""; ?> title="Estado del tránsito" class="bus app-tooltip" href="<?php echo $this->config->item('link-infonews', 'app'); ?> transito"><img src="<?php echo layout('ico/header/transito.png'); ?> " alt="Estado del tránsito" /></a> <div class="header-date"> <p><?php echo getDayString(date('N'), true); ?> <span><?php echo date('d'); ?> de <?php echo getMonthString(date('m'), true); ?> </span> de <?php echo date('Y'); ?> </p> </div> </div>
public function DataArticlePrep($article = false) { $article->tags = $this->ArticleTags($article->id); $meta_tags = array(); foreach ($article->tags as $tag) { $meta_tags[] = $tag->tag; } $article->meta_tags = $meta_tags; $article->subtitle = str_replace('<p> </p>', '', $article->subtitle); $article->subtitle = str_replace('<p> ', '<p>', $article->subtitle); $article->title_url = isset($article->title_uri) ? $article->title_uri : $article->title; $article->title_url = prep_word_url(character_limiter($article->title_url, 40, '')); if (NSPACE != 'infonews' && NSPACE != 'infonews23' && NSPACE != 'elsensacional' && NSPACE != '7dias') { $article->title = isset($article->title_uri) ? $article->title_uri : $article->title; } if (NSPACE == 'el-grafico') { $article->subtitle = isset($article->subtitle_alt) ? $article->subtitle_alt : $article->subtitle; } $article->title_full = $article->title; $article->title = rtrim(htmlspecialchars(rtrim($article->title))); $article->permalink_view = $article->permalink = $article->permalink_comments = base_url() . "nota/{$article->id}"; if ($this->config->item('id-old-system', 'app') >= $article->id) { $article->permalink_comments = "http://www.infonews.com/permalink/{$article->id}"; } $article->link = $this->Data->GetLinkPortal($article->category) . "nota/{$article->id}/{$article->title_url}"; $article->link_fb = $this->Data->GetLinkPortal($article->category) . "nota/{$article->id}"; $article->datafatory = false; $article->datafatoryType = false; $article->videohome = false; if (isset($article->videohomelink) && isset($article->videolist)) { if ($article->videohomelink || $article->videolist) { $article->videohome = true; } $article->videohomelink; unset($article->videolist); } if (isset($article->datafactory_ficha_path)) { $df = explode('/', $article->datafactory_ficha_path); unset($article->datafactory_ficha_path); if (count($df) == 2) { $tournament = $df[0]; if ($tournament == 'deliver') { $article->datafatoryType = 'deliver'; $id = str_replace(array('ficha', '.html'), '', $df[1]); $article->datafatory = "http://www.infonews.com/datafactory/minutofutbol{$id}.html?t=" . time(); } else { $article->datafatoryType = 'html'; $id = str_replace(array('ficha', '.html'), '', $df[1]); if ($tournament == 'rugby.irb') { $article->datafatory = "http://www.infonews.com/datafactory/html/v3/module.html?channel=deportes.{$tournament}.{$id}.mam&lang=es_LA&module=itemMaM"; } else { $article->datafatory = "http://www.infonews.com/datafactory/html/v3/module.html?channel=deportes.futbol.{$tournament}.{$id}.mam&lang=es_LA&module=itemMaM"; } } } } $unix = mysql_to_unix($article->date . (isset($article->hour) ? ' ' . $article->hour : '')); $article->date_unix = $unix; $article->date_full = date('d', $unix) . ' de ' . getMonthString(date('m', $unix)) . (date('Y', $unix) != date('Y') ? " de " . date('Y', $unix) : ""); return $article; }