$htm[] = '<div class="form-group">'; $htm[] = '<label class="col-sm-2 control-label">Platform</label>'; $htm[] = '<div class="col-sm-10">'; $htm[] = '<input type="text" class="form-control" id="platform" placeholder="Platform" value="' . $r['flag_platform'] . '" readonly>'; $htm[] = '</div></div>'; // URL // $htm[] = '<div class="form-group">'; $htm[] = '<label class="col-sm-2 control-label">URL</label>'; $htm[] = '<div class="col-sm-10">'; $htm[] = '<input type="text" class="form-control" id="url" placeholder="URL" value="' . $r['ex_url'] . '" readonly>'; $htm[] = '</div></div>'; // Last update // $date = date("Y-m-d H:i:s", strtotime($r['lastupdate'])); $htm[] = '<div class="form-group">'; $htm[] = '<label for="inputEmail3" class="col-sm-2 control-label">Updated</label>'; $htm[] = '<div class="col-xs-5">'; $htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $date . '" readonly>'; $htm[] = '</div>'; $htm[] = '<div class="col-xs-5">'; $htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $r['user_modified'] . '" readonly>'; $htm[] = '</div></div>'; $htm[] = '</div>'; $box = new LTE\Box(); $box->title($r['id']); $box->icon('fa fa-edit'); $box->body($htm); $box->footer("<a href=index.php class='btn btn-default'><i class='fa fa-arrow-left'></i> Back</a>"); echo $box; //echo "<hr /><pre>";print_r($r);exit; $admin->footer("Vorc backup"); $admin->end();
$date = date("Y-m-d H:i:s", strtotime($r['lastupdate'])); $htm[] = '<div class="form-group">'; $htm[] = '<label for="inputEmail3" class="col-sm-2 control-label">Updated</label>'; $htm[] = '<div class="col-xs-5">'; $htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $date . '" readonly>'; $htm[] = '</div>'; $htm[] = '<div class="col-xs-5">'; $htm[] = '<input type="text" class="form-control" id="category" placeholder="Category" value="' . $r['user_modified'] . '" readonly>'; $htm[] = '</div></div>'; $htm[] = '</div>'; $btn = []; $btn[] = "<a href=index.php class='btn btn-default'><i class='fa fa-arrow-left'></i> Back</a>"; $btn[] = "<a href=#del id=delete class='btn btn-default pull-right' title='Delete'><i class='fa fa-trash-o'></i></a>"; $box = new LTE\Box(); $box->id("boxNews"); $box->title($r['title']); $box->icon("fa fa-list"); $box->body($htm); $box->footer($btn); echo $box; ?> <script> $(function(){ $('#delete').click(function(){ if(!confirm("Delete this news ?"))return false; alert("No"); }); }); </script> <?php $admin->footer("Vorc backup");
<?php // Home :: box sameday $htm = []; $box = new LTE\Box(); $box->id("boxSameday"); $box->title("On the same day"); $box->small("xxxx-xx-xx"); $box->icon("fa fa-calendar-o"); $box->body($htm); //$box->footer("<a href=# class='btn btn-default'><i class='fa fa-plus'></i> Add</a>"); $htm = []; $htm[] = '<div class="input-group input-group-sm">'; $htm[] = '<input type="text" class="form-control" id=newStr placeholder="21:30 Dinner 18.50EUR">'; $htm[] = '<span class="input-group-btn">'; $htm[] = '<button type="button" id=btnAdd class="btn btn-default btn-flat">Add</button>'; $htm[] = '</span>'; $htm[] = '</div>'; $box->footer($htm); $box->loading(true); /* $btn=[]; $btn[]="<a href=#new id='btnSaveNote' class='btn btn-default'><i class='fa fa-save'></i> Save note</a> "; $btn[]="<a href=#trash id='btnTrashNote' class='btn btn-danger pull-right'><i class='fa fa-trash'></i></a> "; $box->footer($btn); */ echo $box;
$urls = []; $urls[] = 'http://expenses.jambonbill.org'; $urls[] = 'http://gameboycamera.jambonbill.org'; $urls[] = 'http://gif.jambonbill.org'; $urls[] = 'http://ip.jambonbill.org'; $urls[] = 'http://lsdj.jambonbill.org'; $urls[] = 'http://midi.jambonbill.org'; $urls[] = 'http://petscii.jambonbill.org'; $urls[] = 'http://zip.jambonbill.org'; //$htm="<pre>list of projects</pre>"; $htm = []; $htm[] = "<table class='table table-hover table-condensed'>"; $htm[] = "<thead>"; $htm[] = "</thead>"; $htm[] = "<tbody>"; foreach ($urls as $k => $url) { $htm[] = "<tr>"; $htm[] = "<td><a href='{$url}'>" . $url . "</a></td>"; } $htm[] = "</tbody>"; $htm[] = "</table>"; $box = new LTE\Box(); $box->title("Projects"); $box->icon("fa fa-times"); $box->body($htm); $btns = []; $btns[] = "<a href=# id=btnSave class='btn btn-default'>Save</a> "; $btns[] = "<a href=# id=btnPassword class='btn btn-default'>Change password</a> "; $btns[] = "<a href=# id=btnDelete class='btn btn-default pull-right'>Delete</a>"; //$box->footer($btns); echo $box;
$htm[] = "<option value='{$val}'>" . ucfirst($val) . "</option>"; } $htm[] = "</select></div>"; $htm[] = "<div class='col-md-2'>"; $htm[] = "<select class='form-control' id=user><option value=''>By</option>"; foreach ($VORC->wikiJpUsers() as $val) { $htm[] = "<option value='{$val}'>" . ucfirst($val) . "</option>"; } $htm[] = "</select></div>"; $htm[] = "<div class='col-md-3'>"; $htm[] = "<input type='date' id=date class='form-control'>"; $htm[] = "</div>"; $htm[] = "</div>"; $box = new LTE\Box(); $box->id("boxSearch"); $box->title("Search wiki"); $box->icon("fa fa-search"); $box->boxTools("<a href=# class='btn' title='Clear'>x</a>"); $box->body($htm); echo $box; ?> <div id='more'></div> <script> $(function(){ $('#search,#category,#platform,#user,#date').change(function(){ console.log('change'); searchWiki(); }); var searchWiki=function(){
<?php // box port comment $htm = []; $htm[] = "<textarea class='form-control' id='comments'>" . $r['ip_comment'] . "</textarea>"; $box = new LTE\Box(); $box->id("boxComment"); $box->icon("fa fa-comment-o"); $box->title("Comments"); $box->html($htm); $box->footer("<a href=# class='btn btn-default' id='btnSaveComment'><i class='fa fa-save'></i> Save</a>"); echo $box;
// Value min-max $htm[] = '<div class="col-xs-4">'; $htm[] = '<div class="form-group">'; $htm[] = '<input type=text class="form-control" id=minmax placeholder="Min - Max">'; $htm[] = '</div>'; $htm[] = '</div>'; // Date $htm[] = '<div class="col-xs-4">'; $htm[] = '<div class="form-group">'; $htm[] = '<input type=date class="form-control" id=date placeholder="Date">'; $htm[] = '</div>'; $htm[] = '</div>'; // Button Enroll /* $htm[]='<div class="col-sm-3">'; $htm[]='<div class="form-group">'; $htm[]='<a href=#btn id="btnEnroll" class="btn btn-default" title="Enroll user"><i class="fa fa-plus-circle"></i> Enroll</a> '; $htm[]='<a href=#btn id="btnDisEnroll" class="btn btn-default" title="Disenroll"><i class="fa fa-minus-circle"></i> Disenroll</a> '; $htm[]='<a href="#copy" id="btnCopy" class="btn btn-default" title="Copy enrollments to a different course"><i class="fa fa-copy"></i> Copy</a> '; */ $htm[] = '</div></div>'; $htm[] = '</div>'; //end rows $box = new LTE\Box(); $box->id("boxSearch"); $box->title("Filter"); $box->icon("fa fa-search"); //$box->boxTools("<button class='btn' title='Clear'><i class='fa fa-times'></i></button>"); $box->body($htm); $box->collapsable(true); echo $box;
<?php $items = []; $items[] = [0x80, 'Note off']; $items[] = [0x90, 'Note on']; $items[] = [0xa0, 'AfterTouch']; $items[] = [0xb0, 'Control Changes']; //modulation $items[] = [0xc0, 'Program Change']; $items[] = [0xe0, 'Pitch']; $items[] = [0xf0, 'Continue']; $htm = []; foreach ($items as $item) { $htm[] = '<div class="checkbox">'; $htm[] = '<label><input type="checkbox" class=filters value="' . $item[0] . '">' . $item[1] . '</label>'; $htm[] = '</div>'; } $box = new LTE\Box(); $box->title("Event filter(s)"); $box->icon("fa fa-filter"); $box->id("boxFilters"); //$box->boxTools("<button class=\"btn btn-box-tool\" title='Clear'><i class='fa fa-times'></i></button> "); $box->collapsable(1); $box->collapsed(1); $box->body($htm); echo $box;
$htm[] = '<label for="datetime">Date</label>'; $htm[] = '<input type="date" class="form-control" id="ed_date" placeholder="Enter date" readonly>'; $htm[] = '</div></div>'; $htm[] = '<div class="col-xs-6">'; $htm[] = '<div class="form-group">'; $htm[] = '<label for="time">Time</label>'; $htm[] = '<input type="text" class="form-control" id="time" placeholder="Time" >'; $htm[] = '</div></div>'; $htm[] = '</div>'; $htm[] = '<div class="row">'; $htm[] = '<div class="col-xs-6">'; $htm[] = '<label for="name" class="hidden-xs">Name</label>'; $htm[] = '<input type="text" class="form-control" id="ed_name" placeholder="Ex : Lunch">'; $htm[] = '</div>'; $htm[] = '<div class="col-xs-6">'; $htm[] = '<label for="amount" class="hidden-xs">Amount</label>'; $htm[] = '<input type="text" class="form-control" id="ed_value" placeholder="Ex : 100USD">'; $htm[] = '</div>'; $htm[] = '</div>'; $box = new LTE\Box(); $box->id("boxEdit"); $box->title("#{$id}"); //$box->small("#$id"); $box->icon("fa fa-edit"); $box->body($htm); $btn = []; $btn[] = "<a href=#new id='btnSave' class='btn btn-default' disabled><i class='fa fa-save'></i> Save</a> "; $btn[] = "<a href=#trash id='btnTrash' class='btn btn-danger pull-right'><i class='fa fa-trash'></i></a> "; $box->footer($btn); $box->loading(true); echo $box;
<?php // Export as CSV // $box = new LTE\Box(); $box->id("boxExport"); $box->title("Export"); $box->small("csv"); $box->icon("fa fa-file-excel-o"); //$box->body("<pre>Download data as csv</pre>"); $box->body("<a href='exportcsv.php' class='btn btn-default'><i class='fa fa-file-excel-o'></i> Download expenses as csv</a>"); echo $box;
<?php $box = new LTE\Box(); $box->title("Output(s)"); $box->icon("fa fa-plug"); $box->id("boxOutputs"); $box->collapsable(true); $box->body("<select class='form-control' id=midi_outputs size=2 disabled=disabled></select>"); echo $box;
<?php $htm = []; $htm[] = "<div class='row'>"; $htm[] = "<div class='col-xs-3'>"; $htm[] = "<input type='text' class='form-control' placeholder='Platform' id='platform'>"; $htm[] = "</div>"; $htm[] = "<div class='col-xs-3'>"; $htm[] = "<input type='text' class='form-control' placeholder='Extension' id='extension'>"; $htm[] = "</div>"; // URL $htm[] = "<div class='col-xs-3'>"; $htm[] = "<input type='text' class='form-control' placeholder='Url' id='url'>"; $htm[] = "</div>"; $htm[] = "<div class='col-xs-3'>"; $htm[] = "<input type='text' class='form-control' placeholder='Date' id='date'>"; $htm[] = "</div>"; $htm[] = "</div>"; // Search // $box = new LTE\Box(); $box->id("boxSearch"); $box->title("Search tunes"); $box->icon("fa fa-search"); $box->body($htm); $box->collapsable(1); echo $box;
<?php $box = new LTE\Box(); $box->title("Receive"); $box->icon("fa fa-text"); $box->id("boxReceive"); $box->collapsable(true); $box->boxTools("<button class=\"btn btn-box-tool btnclipboard\" title='Copy to clipboard'><i class='fa fa-copy'></i></button> "); $box->body("<textarea class='form-control' id=sysex_in rows=10></textarea>"); $box->footer("<a href=#save id=saveSysex class='btn btn-default'><i class='fa fa-save'></i> Save</a>"); echo $box;
<?php // box info $htm = "<pre>" . $REMOTE_ADDR . " -> " . print_r($IP->ipInfo($REMOTE_ADDR), true) . "</pre>"; $box = new LTE\Box(); $box->id("boxInfo"); $box->icon("fa fa-info"); $box->title("Ip info <small>http://ipinfo.io/{$REMOTE_ADDR}/json</small>"); $box->html($htm); echo $box;
header('Content-Type: text/html; charset=utf-8'); session_start(); require __DIR__ . "/../../vendor/autoload.php"; $admin = new LTE\AdminLte2(); echo $admin; $VORC = new VORC\Vorc(); ?> <section class="content-header"> <h1><i class='fa fa-wikipedia-w'></i> VORC NEWS <small>Index</small> </h1> </section> <section class="content"> <?php // Search // $sql = "SELECT * FROM news_index WHERE 1 ORDER BY nid DESC LIMIT 30;"; $q = $VORC->db()->query($sql) or die("Error:{$sql}"); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { echo "<pre>"; print_r($r); exit; } $box = new LTE\Box(); $box->id("boxResult"); $box->title("Result"); $box->icon("fa fa-list"); $box->body("..."); echo $box; $admin->footer("Vorc backup"); $admin->end();
$box->icon("fa fa-list"); $box->collapsable(1); //$box->body("Drop your images here"); //$box->footer("<a href=#gif class='btn btn-default'>Make a gif</a>"); echo $box; ?> </div> <div class='col-md-6'> <?php $btn = []; $btn[] = "<a href=#btn class='btn btn-default'><i class='fa fa-step-backward'></i></a>"; $btn[] = "<a href=#btn class='btn btn-default'><i class='fa fa-step-forward'></i></a>"; $btn[] = "<a href=#btn class='btn btn-default'><i class='fa fa-play'></i></a>"; $btn[] = "<a href=#btn class='btn btn-default pull-right'><i class='fa fa-download'></i></a>"; $box = new LTE\Box(); $box->title("Preview"); $box->id("boxPreview"); $box->body("<canvas id=screen width=320 height=200></canvas>"); $box->footer($btn); echo $box; ?> </div> </div> <script> $(function(){ console.log('test');
<?php // VORC :: NEWS JAP header('Content-Type: text/html; charset=utf-8'); session_start(); require __DIR__ . "/../../vendor/autoload.php"; $admin = new LTE\AdminLte2(); echo $admin; $VORC = new VORC\Vorc(); ?> <section class="content-header"> <h1><i class='fa fa-newspaper-o'></i> NEWS - JAP <small></small> </h1> </section> <section class="content"> <?php // Search // include "box_search.php"; $box = new LTE\Box(); $box->id("boxResult"); $box->title("News result"); $box->icon("fa fa-list"); $box->body("..."); echo $box; $admin->footer("Vorc backup"); $admin->end();
<?php //Home :: box stats $this_year = date("Y"); $this_month = date("m"); //echo "<li>$this_year"; //echo "<li>$this_month"; // This year $sql = "SELECT SUM(ed_value) FROM expenses_data WHERE ed_date>'" . date("Y-01-01") . "' AND ed_date <=CURDATE();"; $q = $EXP->db()->query($sql) or die("Error:{$sql}"); $r = $q->fetch(PDO::FETCH_ASSOC); $htm = []; //$htm[]="<pre>$sql</pre>"; //$htm[]="<pre>".print_r($r,true)."</pre>"; $box = new LTE\Box(); $box->id("box"); $box->title("Overview"); $box->icon("fa fa-area-chart"); $box->body($htm); $box->collapsable(true); $box->footer("<a href='../stats/' class='btn btn-default'><i class='fa fa-arrow-right'></i> More stats</a>"); echo $box;
// box routes // $sql = "SELECT * FROM ip_routes WHERE ir_ip LIKE '{$name}' AND ir_user_id=" . $IP->user_id() . ";"; $q = $IP->db()->query($sql) or die("Error {$sql}"); //echo "<pre>test:$sql</pre>"; $ports = []; while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $ports[] = $r; } $htm = []; $htm[] = "<table class='table table-hover table-condensed'>"; $htm[] = "<thead>"; $htm[] = "<th width=40>Route</th>"; $htm[] = "<th>Name</th>"; $htm[] = "<th>Comment</th>"; $htm[] = "</thead>"; $htm[] = "<tbody>"; foreach ($ports as $k => $r) { $htm[] = "<tr>"; $htm[] = "<td><a href='../port/?id=" . $r['ir_id'] . "'>" . $r['ir_port_from'] . "</a>"; $htm[] = "<td>" . $r['ir_name']; $htm[] = "<td>" . $r['ir_comment']; } $htm[] = "</tbody>"; $htm[] = "</table>"; $box = new LTE\Box(); $box->id("boxRoutes"); $box->icon("fa fa-list"); $box->title(count($ports) . " route(s)"); $box->html($htm); $box->footer("<a href=# class='btn btn-primary' id='btnNewRoute'><i class='fa fa-file'></i> New route</a>"); echo $box;
<?php //user info $box = new LTE\Box(); $box->title("User #" . $user['id']); $box->icon("fa fa-edit"); $box->body("<pre>" . print_r($user, true) . "</pre>"); echo $box;
<?php //print_r($_SERVER); $box = new LTE\Box(); $box->id("boxRoutes"); $box->title("Routes"); $box->icon("fa fa-list"); $htm = []; $htm[] = "<table class='table table-condensed table-hover'>"; $htm[] = "<thead>"; $htm[] = "<th>Name"; $htm[] = "<th>Ip"; $htm[] = "<th title='Port from' width=40>Port"; $htm[] = "<th title='Port to' width=40>To"; $htm[] = "<th>Comment</th>"; //$htm[]="<th width=20>Del</th>"; $htm[] = "</thead>"; $htm[] = "<tbody>"; $routes = $IP->listRoutes(); foreach ($routes as $k => $r) { $htm[] = "<tr id='" . $r['ir_id'] . "'>"; $htm[] = "<td>" . $r['ir_name'] . "</td>"; $htm[] = "<td><a href='../ip/?id=" . $r['ir_ip'] . "'>" . $r['ir_ip']; $htm[] = "<td>" . $r['ir_port_from']; //." <a href=# name='btnEdit' title='".$r['ip_id']."'><i class='fa fa-edit'></i></a></td>"; $htm[] = "<td>"; //port to if ($r['ir_port_to']) { $htm[] = $r['ir_port_to']; //." <a href=# name='btnEdit' title='".$r['ip_id']."'><i class='fa fa-edit'></i></a></td>"; } else {
} ?> <section class="content-header"> <h1>Search</h1> </section> <section class="content"> <div class="row"> <div class='col-md-12'> <?php // Search form // include "box_search.php"; // search results // $box = new LTE\Box(); $box->id("boxResult"); $box->title("Results"); $box->icon("fa fa-list"); $box->loading(true); echo $box; ?> </div> </div><!-- /.row --> </section> <script src='js/search.js'></script> <?php $admin->footer("Expense"); $admin->end();
<?php //Home :: box today $htm = []; $box = new LTE\Box(); $box->id("boxConfig"); $box->title("Config"); $box->small("currency"); $box->icon("fa fa-wrench"); $box->body($htm); $box->collapsed(true); $box->footer("<a href=#save id='btnSaveConfig' class='btn btn-default'><i class='fa fa-save'></i> Save</a>"); echo $box;
<?php $box = new LTE\Box(); $box->title("File(s)"); $box->icon("fa fa-file-o"); $box->id("boxFiles"); $box->collapsable(true); $box->body("please wait"); echo $box;
<?php //spectrum input analyser $htm = ''; $htm .= '<div id=content>'; $htm .= '<canvas id=canvas></canvas>'; $htm .= '</div>'; $box = new LTE\Box(); $box->title("Input"); $box->body($htm); $box->small('<div id=message></div>'); echo $box;
<?php //print_r($_SERVER); $box = new LTE\Box(); $box->id("boxRoute"); $box->title("Route"); $box->icon("fa fa-edit"); $htm = []; $htm[] = "<div class='row'>"; $htm[] = "<input type=hidden id=ir_id>"; //name $htm[] = "<div class='col-sm-6'>"; $htm[] = "<div class='form-group'><label>Name</label>"; $htm[] = "<input type='text' class='form-control' id='ir_name' placeholder='name'>"; $htm[] = "</div></div>"; //ip $htm[] = "<div class='col-sm-3'>"; $htm[] = "<div class='form-group'><label>From</label>"; $htm[] = "<input type='text' class='form-control' id='ir_port_from' placeholder='port'>"; $htm[] = "</div></div>"; //port $htm[] = "<div class='col-sm-3'>"; $htm[] = "<div class='form-group'><label>To</label>"; $htm[] = "<input type='text' class='form-control' id='ir_port_to' placeholder='port'>"; $htm[] = "</div></div>"; //comment $htm[] = "<div class='col-sm-12'>"; $htm[] = "<div class='form-group'><label>Comment</label>"; $htm[] = "<input type='text' class='form-control' id='ir_comment' placeholder='Comment'>"; $htm[] = "</div></div>"; $htm[] = "</div>";
<?php // box info $htm = "<pre>" . $REMOTE_ADDR . " -> " . print_r($IP->ipInfo($REMOTE_ADDR), true) . "</pre>"; $box = new LTE\Box(); $box->id("boxInfo"); $box->icon("fa fa-info"); $box->title("Ip info"); //$box->small("Ip info"); $box->html($htm); echo $box;
<?php $IPS = $IP->listIps(); //print_r($_SERVER); $box = new LTE\Box(); $box->id("boxIps"); $box->title("Ip's"); $box->icon("fa fa-list"); $htm = []; $htm[] = "<table class='table table-condensed table-hover'>"; $htm[] = "<thead>"; $htm[] = "<th>Name"; $htm[] = "<th>Ip"; $htm[] = "<th class='hidden-xs hidden-sm'>City"; $htm[] = "<th class='hidden-xs hidden-sm'>Region"; $htm[] = "<th class='hidden-xs'>Cntry"; $htm[] = "<th class='hidden-xs hidden-sm'>Lat/Lng"; $htm[] = "<th class='hidden-xs'>Updated"; $htm[] = "<th width=100>Updated"; $htm[] = "</thead>"; $htm[] = "<tbody>"; foreach ($IPS as $k => $r) { //print_r($r); if ($r['ip'] == $_SERVER['REMOTE_ADDR']) { $htm[] = "<tr style='font-weight:bold'>"; } else { $htm[] = "<tr>"; } $LATLNG = $r['lat'] . ',' . $r['lng']; if (!$r['lat'] && !$r['lng']) { $LATLNG = '';
<?php // calendar user info //$body=print_r($user,true); $box = new LTE\Box(); $box->id("boxleft"); $box->icon("fa fa-user"); $box->title("{$username}"); $body[] = "<i class='fa fa-calendar'></i> Joined : <a href=# class='btn btn-default'>" . substr($user['date_joined'], 0, 10) . "</a><br />"; $body[] = "<i class='fa fa-calendar'></i> Last login : "******"<br />"; // Courses // $courses = $edxApp->studentCourseEnrollment($USERID); $body[] = "<hr />"; $body[] = "<i class='fa fa-book'></i> " . count($courses) . " course enrollment(s)<br />"; //$body[]="<table class='table table-condensed'>"; foreach ($courses as $k => $r) { //print_r($r); $meta = $edxCourse->metadata($r['course_id']); //print_r($meta); $start = @substr($meta['start'], 0, 10); $end = @substr($meta['end'], 0, 10); //$body[]="<tr>"; $body[] = "<a href='../course/?id=" . $r['course_id'] . "' title='{$start} to {$end}'>" . strtolower($meta['display_name']) . "</a><br />"; } //$body[]="</table>"; $foot = "<a href='../user/?id={$USERID}' class='btn btn-default'><i class='fa fa-arrow-right'></i> User info</a>"; echo $box->html($body, $foot); ?> <div id='more'></div>
<!-- Main content --> <section class="content"> <!-- Main row --> <div class="row"> <section class="col-sm-12"> <!-- THE CALENDAR --> <?php $box = new LTE\Box(); $box->id("boxcalendar"); $box->icon("fa fa-calendar"); $box->title("calendar"); echo $box->html("<div id=calendar></div>"); ?> </section><!-- /.Col --> </div> <!-- fullCalendar --> <script src="../plugins/fullcalendar/moment.min.js" type="text/javascript"></script> <script src="../plugins/fullcalendar/fullcalendar.min.js" type="text/javascript"></script> <!-- Page specific script --> <script src='js/calendar.js' type="text/javascript"></script>