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
<!– 1140px Grid styles for IE –> | |
<!–[if lte IE 9]><link rel="stylesheet" href="library/css/ie.css" type="text/css" media="screen" /><![endif]–> | |
<!– The 1140px Grid – http://cssgrid.net/ –> | |
<link rel="stylesheet" href="<?php bloginfo(‘stylesheet_directory’) ?>/library/css/1140.css" type="text/css" media="screen" /> | |
<!– Your styles –> | |
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( ‘stylesheet_url’ ); ?>" /> | |
<link rel="stylesheet" href="<?php bloginfo(‘stylesheet_directory’) ?>/library/css/main.css" type="text/css" media="screen" /> | |
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
<div class="my_meta_control"> | |
<label>Portfolio images</label> | |
<p> | |
<?php $mb->the_field('projects_img'); ?> | |
<input type="text" name="<?php $mb->the_name(); ?>" value="<?php $mb->the_value(); ?>"/> | |
<span>Enter url using this path : /library/projects_img/,</span> | |
</p> | |
<label>Project URL</label> | |
<p> |
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
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
<div class="triangle"></div> | |
<div class="triangle smooth"></div> |
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 | |
// Log d'un message classique | |
$this->firephp->log('votre message'); | |
// Log d'une variable (array/string/objet) | |
$this->firephp->log($data); | |
// Log d'un message de type 'info' (background jaune) | |
$this->firephp->info('votre message'); |
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
Buhlmann: | |
IE: | |
✔ Menu : dégradation rgba() @done (12-10-26 09:00) | |
✔ Menu déroulant : dégradation rgba() @done (12-10-26 09:00) | |
☐ | |
Fix d'erreurs: | |
✔ Padding bottom sur l'adresse (bas droite) @done (12-10-26 09:46) | |
✔ Background sur les Childs de 'Rolling Stock' @done (12-10-26 10:02) | |
✔ Diminuer la taille du "B" @done (12-10-26 10:12) |
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
public function post_edit_marker($id) | |
{ | |
$input = Input::all(); | |
$file = Input::file('img_input'); | |
$rules = array( | |
'name' => 'required|max:150|alpha', | |
'address' => 'required|max:200|alpha_num', | |
'lat' => 'required|numeric', | |
'lng' => 'required|numeric', | |
'type' => 'required|alpha', |
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
Wordpress: | |
Naked theme: | |
☐ http://underscores.me/ (toujours commencer avec) | |
admin: | |
☐ http://wp.smashingmagazine.com/2012/05/17/customize-wordpress-admin-easily/ | |
☐ http://www.netmagazine.com/tutorials/customise-wordpress-admin-area | |
☐ http://www.codedevelopr.com/articles/wordpress-custom-editor-quicktag-buttons/ | |
☐ http://www.stormconsultancy.co.uk/blog/development/tools-plugins/introducing-wp-tidy-admin-bar/ |
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
$conn = new PDO("mysql:host={$hostname_local};dbname={$database_local};charset=UTF8", $username_local, $password_local); |
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 | |
// 1. Ajouté item X à la DB( items[id,name,modifier_id]) | |
// | |
$item = new Item; | |
$item->name = "name"; | |
$item->save(); | |
// 2. Ajouté des modifiers à un Item X | |
// | |
$modifier = new Modifier; |
OlderNewer