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 | |
use Rubricate\Fpdf\FileFpdf; | |
$pdf = new FileFpdf(); | |
$pdf->addPage(); | |
$pdf->setFont('Arial','B',16); | |
$pdf->cell(40,10,'Hello World!'); | |
$pdf->output(); |
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
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
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
/** | |
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/) | |
* https://cssreset.com/ | |
* Copyright 2012 Yahoo! Inc. All rights reserved. | |
* http://yuilibrary.com/license/ | |
*/ | |
/* | |
TODO will need to remove settings on HTML since we can't namespace it. | |
TODO with the prefix, should I group by selector or property for weight savings? | |
*/ |
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 | |
require 'vendor/autoload.php'; | |
use Rubricate\Paginator\Paginator; | |
use Rubricate\Paginator\TotalPaginator; | |
use Rubricate\Paginator\PerPagePaginator; | |
use Rubricate\Paginator\CurrentNumberPaginator; | |
use Rubricate\Paginator\LinkNumberPaginator; |
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
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.+)$ index.php?/$1 [L] | |
# EOF |
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 | |
$route['afrodite'] = 'mitologia/afrodite'; | |
$route['journals'] = 'blogs'; | |
$route['blog/joe'] = 'blogs/users/34'; | |
# Wildcards | |
$route['user/{id}/{name}'] = 'user/:id/:name'; | |
$route['product/{id}'] = 'catalog/product_lookup_by_id/:id'; |
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 | |
$u = new Rubricate\Uri\CoreUri(); | |
# localhost:8080 | |
$u->getController(); # Index | |
$u->getAction(); # index | |
# uri: /sports/basketball/lorem/ipsum/dolor | |
$u->getController(); # Sports |
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
<form> | |
<div class="row row_fluid"> | |
<div class="gr gr_4 gr_field gr_md_12"> | |
<label for="first_name">First Name:</label> | |
<input type="text" id="first_name" /> | |
</div> | |
<div class="gr gr_4 gr_field gr_md_12"> | |
<label for="last_name">Last Name:</label> | |
<input type="text" id="last_name" /> | |
</div> |
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
<form> | |
<div class="row row_fluid"> | |
<div class="gr gr_4 gr_field gr_md_12"> | |
<input type="email" name="email" placeholder="Email" /> | |
</div> | |
<div class="gr gr_4 gr_field gr_md_12"> | |
<input type="password" name="password" placeholder="password" /> | |
</div> | |
<div class="gr gr_4"> | |
<button class="bt bt_prm">Send</button> |
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
<form> | |
<div class="row"> | |
<div class="gr gr_8 gr_md_12"> | |
<div class="row"> | |
<div class="gr gr_12 gr_field"> | |
<input type="email" name="email" placeholder="Email" /> | |
</div> | |
</div> | |
<div class="row"> | |
<div class="gr gr_12 gr_field"> |