This file contains hidden or 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
| @extends('admin.layouts.master') | |
| @section('content') | |
| <!-- ********************************************************************************************************************************************************** | |
| MAIN CONTENT | |
| *********************************************************************************************************************************************************** --> | |
| <!--main content start--> | |
| <section id="main-content"> | |
| <section class="wrapper"> | |
| <h3><i class="fa fa-angle-right"></i> Add New Menu</h3> |
This file contains hidden or 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 | |
| /* | |
| |-------------------------------------------------------------------------- | |
| | Application Routes | |
| |-------------------------------------------------------------------------- | |
| | | |
| | Here is where you can register all of the routes for an application. | |
| | It's a breeze. Simply tell Laravel the URIs it should respond to | |
| | and give it the controller to call when that URI is requested. |
This file contains hidden or 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
| n = 9 | |
| for i in 0..n | |
| puts "Your Depth is #{i} !!!" | |
| end |
This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| // CSS loader front-end | |
| if( ! function_exists('theme_style_site')){ | |
| function theme_style_site($var = ''){ | |
| $url = base_url("assets/site/".$var); | |
| return '<link rel="stylesheet" href="'.$url.'" >'; | |
| } | |
| } |
This file contains hidden or 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 | |
| /* | |
| * Start of the Base_chat | |
| * Chat App based on PHP | |
| * Author : Infobase Team | |
| */ | |
| class BaseChat{ | |
| // Database Connection | |
| private $dbConnection ; |
This file contains hidden or 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
| <select name="pickYear"> | |
| <option value="1980"<?php echo $pickYear == '1980' ? 'selected' == "selected" : '' ?>> Year :</option> | |
| <?php | |
| for ($i=date('Y'); $i >= 1980 ; $i--) { | |
| $selected = '' ; |
This file contains hidden or 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
| first , second , third = ARGV | |
| puts "Your first variable is : #{first}" | |
| puts "Your second variable is : #{second}" | |
| puts "Your third variable is : #{third}" |