pre production version :
******************************
Template evolution :
- css ( so much things)
- js ( new navigation tools ...)
- lib for php ZIp
- function.php (for download LDT and other litle function)
- page (header, home, footer, single, search, searchform, post ...)
******************************
New plug in :
- wp touch
- wp explorer
- TextCutter
- ultimate-google-analytics
- nice titles
******************************
Plug in customization :
- related-posts-by-category
- posts-of-current-category
- order-categories
- event-calendar
- translation wp explorer
- exec-php
******************************
Road map for next version :
- cleaning php code
put template function to new plugin
- cleaning Css code
- re organize Js code
- all new correction ask
<?php
require_once(dirname(__FILE__).'/option.php');
require_once(dirname(__FILE__).'/usermeta.php');
// -----------------------------------------------------------------------------
// the ExecPhp_Cache serves as a cache for the option and usermeta
// -----------------------------------------------------------------------------
if (!class_exists('ExecPhp_Cache')) :
class ExecPhp_Cache
{
var $m_option = NULL;
var $m_usermetas = array();
// ---------------------------------------------------------------------------
// init
// ---------------------------------------------------------------------------
function ExecPhp_Cache()
{
$this->m_option =& new ExecPhp_Option();
}
// ---------------------------------------------------------------------------
// access
// ---------------------------------------------------------------------------
function &get_option()
{
return $this->m_option;
}
function &get_usermeta($user_id)
{
if (!isset($this->m_usermetas[$user_id]))
// this will generate warnings with error_reporting(E_STRICT) using PHP5
// see http://www.php.net/manual/en/language.references.whatdo.php
$this->m_usermetas[$user_id] =& new ExecPhp_UserMeta($user_id);
return $this->m_usermetas[$user_id];
}
}
endif;
?>