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 | |
echo 'yo'; |
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 Twitter | |
{ | |
public static function user_id($username) | |
{ | |
$data = file_get_contents('http://twitter.com/' . $username); | |
$userId = explode('<div id="user_', $data); | |
$userId = explode('"', $userId[1]); |
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 defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Html head helper methods | |
* | |
* @package Layout Module | |
* @author John Himmelman ([email protected]) | |
*/ | |
class Head | |
{ | |
protected static $stylesheets = 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
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Abstract controller class for automatic templating and view mapping. | |
* | |
* @package Controller | |
* @author John Himmelman ([email protected]) | |
*/ | |
abstract class Controller_ViewMapper_Cache extends Controller_ViewMapper | |
{ | |
public $use_cache = 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
<?php | |
include dirname(__FILE__) . '/../BucketsManagement/Main.class.php'; | |
class FeaturedContentManagement extends BucketsManagement | |
{ | |
protected $daos = array( | |
'GameDAO', | |
'ResourceDAO', | |
'AssetDAO', |
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 style="width:758px;height:408px;"> | |
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="758" height="408"> | |
<param name="flashvars" value="var1=the_value&var2=some_value&var3=test"> | |
<param name="movie" value="share-your-story-swf.swf" /> | |
<param name="wmode" value="transparent" /> | |
<!--[if !IE]>--> | |
<object type="application/x-shockwave-flash" data="share-your-story-swf.swf" wmode="transparent" width="758" height="408"> | |
<!--<![endif]--> | |
<a href="http://get.adobe.com/flashplayer/"><img src="share-your-story-swf-placeholder.jpg" border="0" width="758" height="408"></a> | |
<!--[if !IE]>--> |
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
<? include 'twitter.php' ?> | |
<? $tweets = twitter::feed('john2496') ?> | |
<? foreach ($tweets as $tweet): ?> | |
<div> | |
<?=$tweet->text?><br /> | |
<?=date('g:iA', strtotime($tweet->created_at))?> from <?=$tweet->source?><br /> | |
</div> | |
<? endforeach ?> |
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 | |
$toEmail = $_REQUEST['friendsEmail']; | |
$message = $_REQUEST['message']; | |
$headers = 'MIME-Version: 1.0' . "\r\n"; | |
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; | |
mail($toEmail, 'Check out White Collar – Counterfeit Crackdown', $message, $headers); |
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
<!-- SiteCatalyst code version: H.21. | |
Copyright 1996-2010 Adobe, Inc. All Rights Reserved | |
More info available at http://www.omniture.com --> | |
<script language="JavaScript" type="text/javascript" src="/global/media/js/s_code.js"></script> | |
<script language="JavaScript" type="text/javascript"><!-- | |
/* You may give each page an identifying name, server, and channel on | |
the next lines. */ | |
var s_account="avonadvancetechniques" | |
s.pageName="AdvTech_Home" | |
s.server="" |
OlderNewer