This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Home extends CI_Controller { | |
function __construct() { | |
parent::__construct(); | |
$this->load->library(array('parser')); | |
$this->load->spark('cimongo/1.3.0'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function dropdown(mySel) | |
{ | |
var myWin, myVal; | |
myVal = mySel.options[mySel.selectedIndex].value; | |
if(myVal) | |
{ | |
if(mySel.form.target)myWin = parent[mySel.form.target]; | |
else myWin = window; | |
if (! myWin) return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(["jquery"],function(jQuery){ | |
jQuery(document).ready(function($){ | |
$('#lastName').focus(); | |
$('.form_datetime').datepicker({ | |
autoclose: true, | |
startView:2, | |
format:'mm/dd/yyyy' | |
}); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan down | |
git status | |
git checkout master | |
git pull origin master | |
composer update | |
php artisan migrate | |
php artisan cache:clear | |
php artisan route:clear | |
composer dump-autoload -o | |
php artisan clear-compiled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script id="tmpl-nf-form-layout" type="text/template"> | |
<div> | |
<div class="nf-before-form-content"></div> | |
<fieldset> | |
<legend class="sr-only">{{ data.title }}</legend> | |
<div class="nf-form-content {{{ data.element_class }}}"></div> | |
</fieldset> | |
<div class="nf-after-form-content"></div> | |
</div> | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script id="tmpl-nf-field-label" type="text/template"> | |
<# if ( data.type == 'listcheckbox' ) { #> | |
<div class="nf-field-label"><span class="{{{ data.renderLabelClasses() }}}"><strong style="font-weight: 700; color: #646464">{{{ data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}}</strong></span></div> | |
<# } else { #> | |
<div class="nf-field-label"><label for="nf-field-{{{ data.id }}}" class="{{{ data.renderLabelClasses() }}}">{{{ data.label }}} {{{ ( 'undefined' != typeof data.required && 1 == data.required ) ? '<span class="ninja-forms-req-symbol">*</span>' : '' }}} {{{ data.maybeRenderHelp() }}}</label></div> | |
<# } #> | |
</script> |