<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "HTTP://WWW.W3.ORG/TR/HTML4/LOOSE.DTD" >
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 ">
<title><% $sitename%></title>
<%* loaded ExtJS resource file--start *%>
<link rel= "stylesheet" type= "Text/css" href= "<% $extjs _res%>"/>
<script type= "Text/javascript" src= "<% $extjs _adapter%>" ></script>
<script type= "Text/javascript" src= "<% $extjs _laction%>" ></script>
<%* loaded ExtJS resource file--end *%>
<%* The JS area of the execution block--Start *%>
<script type= "Text/javascript" >
Concrete development--Bjextreme class
Bjextreme= function () {};
BJExtreme.prototype.getAuthor = function () {
Return ' Xu Xiao Han ';
}
BJExtreme.prototype.getVersion = function () {
Return ' August 13, 2008 17:00 ';
}
BJExtreme.prototype.getController = function () {
Return ' index.php ';
}
BJEXTREME.PROTOTYPE.BUILDLINKSTR = function (ctl,act) {
if (ctl = = undefined)
return BJExtreme.prototype.getController ();
if (act = = undefined)
act = NULL;
return BJExtreme.prototype.getController () + ' ctl= ' + ctl + ' &act= ' + act;
}
BJExtreme.prototype.showWindow = function (TITLE1,WIDTH1,HEIGHT1,HTML1) {
if (This.win = = undefined) {
This.win = new Ext.window ({
Title:title1,
Width:width1,
HEIGHT:HEIGHT1,
Html:html1
});
}
else {
This.win.close ();
This.win = new Ext.window ({
Title:title1,
Width:width1,
HEIGHT:HEIGHT1,
Html:html1
});
}
This.win.show ();
}
/* The UI components that appear are individually encapsulated * * *
BJExtreme.prototype.ui = function () {};
BJExtreme.prototype.ui.mainTopic = {
Title: ' Beijing Extreme admin ', Region: ' North ',
HTML: ' <embed src= ' <% $prj _dir%>/swf/top_title.swf ' quality= ' high ' type= ' Application/x-shockwave-flash ' Width= "450" height= "></embed>"
};
/* Left menu item operation--Start/*
Menu bar Object when defining initial session state
BJExtreme.prototype.ui.menuBar = {
Xtype: ' Treepanel ',
Title: ' Menu ', Region: ' West ', width:200, Collapsible:true,
Loader:null, Root:null, Rootvisible:true, Listeners:null
};
Travel related
BJExtreme.prototype.ui.menuBar.Traveling = {
Text: ' Travel ',
Leaf:false,//This is set to False to display the folder icon, true to display the individual icon
Children:null
};
BJExtreme.prototype.ui.menuBar.Traveling.children = [
{text: ' Beijing ', Leaf:true, ctl: ' Peking ', act: '},
{text: ' Tibet ', Leaf:true, ctl: ' Tibet ', act: '},
{text: ' Thailand ', leaf:true},
{text: ' Shangri-La ', Leaf:true,ctl: ' Shangrila ', act: '}
];
Tibetan Medicine related
BJExtreme.prototype.ui.menuBar.Mibetdoctor = {
Text: ' Tibetan medicine ',
Leaf:false,
Children:null
};
BJExtreme.prototype.ui.menuBar.Mibetdoctor.children = [
{text: ' Tibetan history ', leaf:true},
{text: ' Tibetan medicine theory ', leaf:true},
{text: ' Diagnostics ', leaf:true},
{text: ' Illness ', leaf:true},
{text: ' Treatment ', leaf:true}
];
Current 1/2 page
12 Next read the full text