Probando probando
Código CSS :
/* Pretty printing styles. Used with prettify.js. */
/* SPAN elements with the classes below are added by prettyprint. */
.pln { color: #FFF } /* plain text */
@media screen {
.str { color: #E6DB74 } /* string content */
.kwd { color: #66D9EF } /* a keyword */
.com { color: #75715E } /* a comment */
.typ { color: #A6E22C } /* a type name */
.lit { color: #AE81DD } /* a literal value */
/* punctuation, lisp open bracket, lisp close bracket */
.pun, .opn, .clo { color: #F92665 }
.tag { color: #F92672 } /* a markup tag name */
.atn { color: #A6E22C } /* a markup attribute name */
.atv { color: #E6DB74 } /* a markup attribute value */
.dec, .var { color: #A6E22C } /* a declaration; a variable name */
.fun { color: #A6E22C } /* a function name */
}
Código Javascript :
Clab = {
init: function() {
if ($('#login-container').length)
Site.login();
Site.notifications();
if ($('.widget-featured').length)
Site.featured();
if ($body.hasClass('videotutorial-single'))
Site.videotutorials();
if ($body.hasClass('tag-detail'))
Site.tag();
if ($body.hasClass('tutoriales'))
Site.tutorials();
if (ie <= 7)
Site.ie_fallback();
if ($('#comments').length) {
$.getScript('/js/jquery.scrollTo-min.js', Site.comments);
}
return $(window).bind('load', Site.load);
}
}
Código PHP :
<?php /*
<script>
<?php include_once(V4_ROOT_DIR . "js/blog.js"); ?>
</script>
*/ ?>
<script type="text/javascript" src="<?=$cl_globals["ruta"]; ?>Scripts/AC_RunActiveContent.js"></script>
<meta property="og:title" content="<?=$cl_page_title; ?>" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.cristalab.com<?=str_replace(array("<", ">"), "", substr($_SERVER['REQUEST_URI'], 0, 512)); ?>" />
<meta property="og:image" content="http://www.cristalab.com<?=$og_thumb; ?>" />
<meta property="og:site_name" content="<?=$cl_botonera["cristalab"]["nombre"]; ?>" />
<meta property="fb:admins" content="569992847" />
<meta property="og:description" content="<?=$cl_descripcion; ?>"/>
Código PHP :
public function StringToBoolean() {
}
/**
* Converts a string to a boolean value.
* @param string String to convert.
* @return The boolean it represents.
*/
public static function convert(string:String):Boolean {
if (string.toUpperCase() == "TRUE") {
return true;
} else {
return false;
}
}
}
Código MySQL :
SELECT
family.position,
food.meal
FROM family
LEFT JOIN food
ON family.position = food.position