Example #1
0
if (PHONE_SYSTEM == 'asterisk') {
    $web = $asterisk->get_web_ext($page->auth->Get_user_id());
    //      print_r( $web );
}
?>
<html >
<head>
    <script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>
<link rel="stylesheet" type="text/css" href="sidebar.css" />
<!-- Just Playing Around With YUI, DELETE if needed -->
<link rel="stylesheet" type="text/css" href="/yui2/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="/yui2/tabview/assets/skins/sam/tabview.css" />
<link rel="stylesheet" type="text/css" href="/yui2/datatable/assets/skins/sam/datatable.css" >

<?php 
echo $yui->get_header();
?>
<style type="text/css" >

#asterisk {
    position: absolute;
    top: 0px;
    right: 0px;
}
#asterisk tr.yui-dt-even { background: url("images/transparent_90.png");
background-position: center;} /* white */
#asterisk tr.yui-dt-odd { background: url("images/transparent_60.png");
background-position: center; } /* light blue */
#asterisk thead { display: none; }

</style>
Example #2
0
<link rel="stylesheet" type="text/css" href="yui/sam/container.css" />

<script>
function getUserQuery(){
	var auq = document.getElementById(\'AllUserQuery\');
	if( auq == null ){
		return \'user_search_xml.php?q=\';
	} else { 	
		return "user_search_xml.php?q=" + document.getElementById(\'AllUserQuery\').value;
	}
}
</script>
<script>

</script>
' . $yui->get_header() . '
');
$page_style = '
';
$page->setBodyScript('class="yui-skin-sam"');
$page->setPageStyle($page_style);
$page->displayPageTop();
echo $yui->get_body();
?>
<!-- Hidden Fields for ajax type posting, I know there is a better way, I dont have time to research it now thought-->
<input type="hidden" name="pf_user_id" id="pf_user_id" />
<input type="hidden" name="pf_action" id="pf_action" />
<input type="hidden" name="pf_project_id" id="pf_project_id" value="<?php 
echo $project_id;
?>
" />