Esempio n. 1
0
 /**
  * This is the default 'index' action that is invoked
  * when an action is not explicitly requested by users.
  */
 public function actionIndex()
 {
     $this->noGuest();
     $COREUSER = new UserObj(Yii::app()->user->name);
     $COREUSER->get_contact();
     $params["COREUSER"] = $COREUSER;
     $this->render('index', $params);
 }
Esempio n. 2
0
<?php

// Theme name from Jquery UI themes
$theme = "bluebird";
if (!Yii::app()->user->isGuest) {
    $COREUSER = new UserObj(Yii::app()->user->name);
    $COREUSER->get_contact();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
	
	<link rel="icon" type="image/png" href="<?php 
echo Yii::app()->request->baseUrl;
?>
/images/person.png" />
		
	<!-- blueprint CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php 
echo Yii::app()->request->baseUrl;
?>
/css/screen.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php 
echo Yii::app()->request->baseUrl;
?>
/css/print.css" media="print" />
	<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php