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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style type="text/css"> | |
/*! |
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
# Description | |
# docs will search the Laravel documentation | |
# | |
# Dependencies: | |
# none | |
# | |
# Configuration: | |
# none | |
# | |
# Commands: |
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 | |
return "skub"; |
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 | |
class CategoryController extends \BaseController { | |
protected $layout = 'layouts.dashboard'; | |
public $category; | |
public function __construct() { | |
parent::__construct(); |
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
[[!getResources? | |
&parents=`[[*id]]` | |
&showHidden=`1` | |
&toPlaceholder=`nextid` | |
&limit=`1` | |
&tpl=`@INLINE [[+id]]` | |
&offset=`[[+offset]]` | |
]] | |
<div class="span6"> | |
<article class="latest-article"> |
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 | |
foreach($order->images() as $key => $image) { | |
$ext = explode(".", $image->imageName); | |
$ext = $ext[count($ext)-1]; | |
$newName = "NEWFILENAME_".$key.".".$ext; | |
//rename file from $image->imageName to $newName | |
$image->imageName = $newName; |
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 | |
$sql = "SELECT * FROM `givers`"; | |
if($givers = mysql_query($sql)) { | |
$return = "["; | |
while($giver = mysql_fetch_array($givers)) { | |
$return .= "'".$giver['last'].", ".$giver['firsts']."', "; | |
$json[$giver['last'].", ".$giver['firsts']] = $giver['id']; | |
} | |
$return = substr($return, 0, -2)."]"; |
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
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
$("div.staff-trigger").click(function(){ | |
$(this).next().slideToggle(); | |
return false; |
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
Request URL:http://dnsmanpro.com/api.php | |
Request Method:POST | |
Status Code:200 OK | |
Request Headersview source | |
Accept:application/json, text/javascript, */*; q=0.01 | |
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3 | |
Accept-Encoding:gzip,deflate,sdch | |
Accept-Language:en-US,en;q=0.8 | |
Connection:keep-alive | |
Content-Length:118 |
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
# | |
# Based upon the NCSA server configuration files originally by Rob McCool. | |
# | |
# This is the main Apache server configuration file. It contains the | |
# configuration directives that give the server its instructions. | |
# See http://httpd.apache.org/docs/2.2/ for detailed information about | |
# the directives. | |
# | |
# Do NOT simply read the instructions in here without understanding | |
# what they do. They're here only as hints or reminders. If you are unsure |