<?php
define("SITE_URL","http://localhost/communityedition/web_school/");
define("VIEW_SITE_URL","http://localhost/communityedition/web_school/view/");

function sanitize($data)
{
// remove whitespaces (not a must though)
/* $data = trim($data); */ 

// apply stripslashes if magic_quotes_gpc is enabled
if(get_magic_quotes_gpc())
{
$data = stripslashes($data);
}
else
{
include('class/config.php');

// a mySQL connection is required before using this function
$data = mysql_real_escape_string($data);
}
return $data;
} 
/*Country List*/
function country()
{
?>
<option <?php if($clientObj->country=="Afghanistan")echo "selected";?>>Afghanistan</option>

                  <option <?php if($clientObj->country=="Albania")echo "selected";?>>Albania</option>

                  <option <?php if($clientObj->country=="Algeria")echo "selected";?>>Algeria</option>

                  <option <?php if($clientObj->country=="Andorra")echo "selected";?>>Andorra</option>

                  <option <?php if($clientObj->country=="Angola")echo "selected";?>>Angola</option>

                  <option <?php if($clientObj->country=="Antigua &amp; Deps")echo "selected";?>>Antigua &amp; Deps</option>

                  <option <?php if($clientObj->country=="Argentina")echo "selected";?>>Argentina</option>

                  <option <?php if($clientObj->country=="Armenia")echo "selected";?>>Armenia</option>

                  <option <?php if($clientObj->country=="Australia")echo "selected";?>Australia>Australia</option>

                  <option <?php if($clientObj->country=="Austria")echo "selected";?>>Austria</option>

                  <option <?php if($clientObj->country=="Azerbaijan")echo "selected";?>>Azerbaijan</option>

                  <option <?php if($clientObj->country=="Bahamas")echo "selected";?>>Bahamas</option>

                  <option <?php if($clientObj->country=="Bahrain")echo "selected";?>>Bahrain</option>

                  <option <?php if($clientObj->country=="Bangladesh")echo "selected";?>>Bangladesh</option>

                  <option <?php if($clientObj->country=="Barbados")echo "selected";?>>Barbados</option>

                  <option <?php if($clientObj->country=="Belarus")echo "selected";?>>Belarus</option>

                  <option <?php if($clientObj->country=="Belgium")echo "selected";?>>Belgium</option>

                  <option <?php if($clientObj->country=="Belize")echo "selected";?>>Belize</option>

                  <option <?php if($clientObj->country=="Benin")echo "selected";?>>Benin</option>

                  <option <?php if($clientObj->country=="Bhutan")echo "selected";?>>Bhutan</option>

                  <option <?php if($clientObj->country=="Bolivia")echo "selected";?>>Bolivia</option>

                  <option <?php if($clientObj->country=="Bosnia Herzegovina")echo "selected";?>>Bosnia Herzegovina</option>

                  <option <?php if($clientObj->country=="Botswana")echo "selected";?>>Botswana</option>

                  <option <?php if($clientObj->country=="Brazil")echo "selected";?>>Brazil</option>

                  <option <?php if($clientObj->country=="Brunei")echo "selected";?>>Brunei</option>

                  <option <?php if($clientObj->country=="Bulgaria")echo "selected";?>>Bulgaria</option>

                  <option <?php if($clientObj->country=="Burkina")echo "selected";?>>Burkina</option>

                  <option <?php if($clientObj->country=="Burundi")echo "selected";?>>Burundi</option>

                  <option <?php if($clientObj->country=="Cambodia")echo "selected";?>>Cambodia</option>

                  <option <?php if($clientObj->country=="Cameroon")echo "selected";?>>Cameroon</option>

                  <option <?php if($clientObj->country=="Canada")echo "selected";?>>Canada</option>

                  <option <?php if($clientObj->country=="Cape Verde")echo "selected";?>>Cape Verde</option>

                  <option <?php if($clientObj->country=="Central African Rep")echo "selected";?>>Central African Rep</option>

                  <option <?php if($clientObj->country=="Chad")echo "selected";?>>Chad</option>

                  <option <?php if($clientObj->country=="Chile")echo "selected";?>>Chile</option>

                  <option <?php if($clientObj->country=="China")echo "selected";?>>China</option>

                  <option <?php if($clientObj->country=="Colombia")echo "selected";?>>Colombia</option>

                  <option <?php if($clientObj->country=="Comoros")echo "selected";?>>Comoros</option>

                  <option <?php if($clientObj->country=="Congo")echo "selected";?>>Congo</option>

                  <option <?php if($clientObj->country=="Congo {Democratic Rep}")echo "selected";?>>Congo {Democratic Rep}</option>

                  <option <?php if($clientObj->country=="Costa Rica")echo "selected";?>>Costa Rica</option>

                  <option <?php if($clientObj->country=="Croatia")echo "selected";?>>Croatia</option>

                  <option <?php if($clientObj->country=="Cuba")echo "selected";?>>Cuba</option>

                  <option <?php if($clientObj->country=="Cyprus")echo "selected";?>>Cyprus</option>

                  <option <?php if($clientObj->country=="Czech Republic")echo "selected";?>>Czech Republic</option>

                  <option <?php if($clientObj->country=="Denmark")echo "selected";?>>Denmark</option>

                  <option <?php if($clientObj->country=="Djibouti")echo "selected";?>>Djibouti</option>

                  <option <?php if($clientObj->country=="Dominica")echo "selected";?>>Dominica</option>

                  <option <?php if($clientObj->country=="Dominican Republic")echo "selected";?>>Dominican Republic</option>

                  <option <?php if($clientObj->country=="East Timor")echo "selected";?>>East Timor</option>

                  <option <?php if($clientObj->country=="Ecuador")echo "selected";?>>Ecuador</option>

                  <option <?php if($clientObj->country=="Egypt")echo "selected";?>>Egypt</option>

                  <option <?php if($clientObj->country=="El Salvador")echo "selected";?>>El Salvador</option>

                  <option <?php if($clientObj->country=="Equatorial Guinea")echo "selected";?>>Equatorial Guinea</option>

                  <option <?php if($clientObj->country=="Eritrea")echo "selected";?>>Eritrea</option>

                  <option <?php if($clientObj->country=="Estonia")echo "selected";?>>Estonia</option>

                  <option <?php if($clientObj->country=="Ethiopia")echo "selected";?>>Ethiopia</option>

                  <option <?php if($clientObj->country=="Fiji")echo "selected";?>>Fiji</option>

                  <option <?php if($clientObj->country=="Finland")echo "selected";?>>Finland</option>

                  <option <?php if($clientObj->country=="France")echo "selected";?>>France</option>

                  <option <?php if($clientObj->country=="Gabon")echo "selected";?>>Gabon</option>

                  <option <?php if($clientObj->country=="Gambia")echo "selected";?>>Gambia</option>

                  <option <?php if($clientObj->country=="Georgia")echo "selected";?>>Georgia</option>

                  <option <?php if($clientObj->country=="Germany")echo "selected";?>>Germany</option>

                  <option <?php if($clientObj->country=="Ghana")echo "selected";?>>Ghana</option>

                  <option <?php if($clientObj->country=="Greece")echo "selected";?>>Greece</option>

                  <option <?php if($clientObj->country=="Grenada")echo "selected";?>>Grenada</option>

                  <option <?php if($clientObj->country=="Guatemala")echo "selected";?>>Guatemala</option>

                  <option <?php if($clientObj->country=="Guinea")echo "selected";?>>Guinea</option>

                  <option <?php if($clientObj->country=="Guinea-Bissau")echo "selected";?>>Guinea-Bissau</option>

                  <option <?php if($clientObj->country=="Guyana")echo "selected";?>>Guyana</option>

                  <option <?php if($clientObj->country=="Haiti")echo "selected";?>>Haiti</option>

                  <option <?php if($clientObj->country=="Honduras")echo "selected";?>>Honduras</option>

                  <option <?php if($clientObj->country=="Hungary")echo "selected";?>>Hungary</option>

                  <option <?php if($clientObj->country=="Iceland")echo "selected";?>>Iceland</option>

                  <option <?php if($clientObj->country=="India")echo "selected";?>>India</option>

                  <option <?php if($clientObj->country=="Indonesia")echo "selected";?>>Indonesia</option>

                  <option <?php if($clientObj->country=="Iran")echo "selected";?>>Iran</option>

                  <option <?php if($clientObj->country=="Iraq")echo "selected";?>>Iraq</option>

                  <option <?php if($clientObj->country=="Ireland {Republic}")echo "selected";?>>Ireland {Republic}</option>

                  <option <?php if($clientObj->country=="Israel")echo "selected";?>>Israel</option>

                  <option <?php if($clientObj->country=="Italy")echo "selected";?>>Italy</option>

                  <option <?php if($clientObj->country=="Ivory Coast")echo "selected";?>>Ivory Coast</option>

                  <option <?php if($clientObj->country=="Jamaica")echo "selected";?>>Jamaica</option>

                  <option <?php if($clientObj->country=="Japan")echo "selected";?>>Japan</option>

                  <option <?php if($clientObj->country=="Jordan")echo "selected";?>>Jordan</option>

                  <option <?php if($clientObj->country=="Kazakhstan")echo "selected";?>>Kazakhstan</option>

                  <option <?php if($clientObj->country=="Kenya")echo "selected";?>>Kenya</option>

                  <option <?php if($clientObj->country=="Kiribati")echo "selected";?>>Kiribati</option>

                  <option <?php if($clientObj->country=="Korea North")echo "selected";?>>Korea North</option>

                  <option <?php if($clientObj->country=="Korea South")echo "selected";?>>Korea South</option>

                  <option <?php if($clientObj->country=="Kosovo")echo "selected";?>>Kosovo</option>

                  <option <?php if($clientObj->country=="Kuwait")echo "selected";?>>Kuwait</option>

                  <option <?php if($clientObj->country=="Kyrgyzstan")echo "selected";?>>Kyrgyzstan</option>

                  <option <?php if($clientObj->country=="Laos")echo "selected";?>>Laos</option>

                  <option <?php if($clientObj->country=="Latvia")echo "selected";?>>Latvia</option>

                  <option <?php if($clientObj->country=="Lebanon")echo "selected";?>>Lebanon</option>

                  <option <?php if($clientObj->country=="Lesotho")echo "selected";?>>Lesotho</option>

                  <option <?php if($clientObj->country=="Liberia")echo "selected";?>>Liberia</option>

                  <option <?php if($clientObj->country=="Libya")echo "selected";?>>Libya</option>

                  <option <?php if($clientObj->country=="Liechtenstein")echo "selected";?>>Liechtenstein</option>

                  <option <?php if($clientObj->country=="Lithuania")echo "selected";?>>Lithuania</option>

                  <option <?php if($clientObj->country=="Luxembourg")echo "selected";?>>Luxembourg</option>

                  <option <?php if($clientObj->country=="Macedonia")echo "selected";?>>Macedonia</option>

                  <option <?php if($clientObj->country=="Madagascar")echo "selected";?>>Madagascar</option>

                  <option <?php if($clientObj->country=="Malawi")echo "selected";?>>Malawi</option>

                  <option <?php if($clientObj->country=="Malaysia")echo "selected";?>>Malaysia</option>

                  <option <?php if($clientObj->country=="Maldives")echo "selected";?>>Maldives</option>

                  <option <?php if($clientObj->country=="Mali")echo "selected";?>>Mali</option>

                  <option <?php if($clientObj->country=="Malta")echo "selected";?>>Malta</option>

                  <option <?php if($clientObj->country=="Montenegro")echo "selected";?>>Montenegro</option>

                  <option <?php if($clientObj->country=="Marshall Islands")echo "selected";?>>Marshall Islands</option>

                  <option <?php if($clientObj->country=="Mauritania")echo "selected";?>>Mauritania</option>

                  <option <?php if($clientObj->country=="Mauritius")echo "selected";?>>Mauritius</option>

                  <option <?php if($clientObj->country=="Mexico")echo "selected";?>>Mexico</option>

                  <option <?php if($clientObj->country=="Micronesia")echo "selected";?>>Micronesia</option>

                  <option <?php if($clientObj->country=="Moldova")echo "selected";?>>Moldova</option>

                  <option <?php if($clientObj->country=="Monaco")echo "selected";?>>Monaco</option>

                  <option <?php if($clientObj->country=="Mongolia")echo "selected";?>>Mongolia</option>

                  <option <?php if($clientObj->country=="Morocco")echo "selected";?>>Morocco</option>

                  <option <?php if($clientObj->country=="Mozambique")echo "selected";?>>Mozambique</option>

                  <option <?php if($clientObj->country=="Myanmar, {Burma}")echo "selected";?>>Myanmar, {Burma}</option>

                  <option <?php if($clientObj->country=="Namibia")echo "selected";?>>Namibia</option>

                  <option <?php if($clientObj->country=="Nauru")echo "selected";?>>Nauru</option>

                  <option <?php if($clientObj->country=="Nepal")echo "selected";?>>Nepal</option>

                  <option <?php if($clientObj->country=="Netherlands")echo "selected";?>>Netherlands</option>

                  <option <?php if($clientObj->country=="New Zealand")echo "selected";?>>New Zealand</option>

                  <option <?php if($clientObj->country=="Nicaragua")echo "selected";?>>Nicaragua</option>

                  <option <?php if($clientObj->country=="Niger")echo "selected";?>>Niger</option>

                  <option <?php if($clientObj->country=="Nigeria")echo "selected";?>>Nigeria</option>

                  <option <?php if($clientObj->country=="Norway")echo "selected";?>>Norway</option>

                  <option <?php if($clientObj->country=="Oman")echo "selected";?>>Oman</option>

                  <option <?php if($clientObj->country=="Pakistan")echo "selected";?>>Pakistan</option>

                  <option <?php if($clientObj->country=="Pakistan")echo "selected";?>>Pakistan</option>

                  <option <?php if($clientObj->country=="Panama")echo "selected";?>>Panama</option>

                  <option <?php if($clientObj->country=="Papua New Guinea")echo "selected";?>>Papua New Guinea</option>

                  <option <?php if($clientObj->country=="Paraguay")echo "selected";?>>Paraguay</option>

                  <option <?php if($clientObj->country=="Peru")echo "selected";?>>Peru</option>

                  <option <?php if($clientObj->country=="Philippines")echo "selected";?>>Philippines</option>

                  <option <?php if($clientObj->country=="Poland")echo "selected";?>>Poland</option>

                  <option <?php if($clientObj->country=="Portugal")echo "selected";?>>Portugal</option>

                  <option <?php if($clientObj->country=="Qatar")echo "selected";?>>Qatar</option>

                  <option <?php if($clientObj->country=="Romania")echo "selected";?>>Romania</option>

                  <option <?php if($clientObj->country=="Russian Federation")echo "selected";?>>Russian Federation</option>

                  <option <?php if($clientObj->country=="Rwanda")echo "selected";?>>Rwanda</option>

                  <option <?php if($clientObj->country=="St Kitts &amp; Nevis")echo "selected";?>>St Kitts &amp; Nevis</option>

                  <option <?php if($clientObj->country=="St Lucia")echo "selected";?>>St Lucia</option>

                  <option <?php if($clientObj->country=="Saint Vincent &amp; the Grenadines")echo "selected";?>>Saint Vincent &amp; the Grenadines</option>

                  <option <?php if($clientObj->country=="Samoa")echo "selected";?>>Samoa</option>

                  <option <?php if($clientObj->country=="San Marino")echo "selected";?>>San Marino</option>

                  <option <?php if($clientObj->country=="Sao Tome &amp; Principe")echo "selected";?>>Sao Tome &amp; Principe</option>

                  <option <?php if($clientObj->country=="Saudi Arabia")echo "selected";?>>Saudi Arabia</option>

                  <option <?php if($clientObj->country=="Senegal")echo "selected";?>>Senegal</option>

                  <option <?php if($clientObj->country=="Serbia")echo "selected";?>>Serbia</option>

                  <option <?php if($clientObj->country=="Seychelles")echo "selected";?>>Seychelles</option>

                  <option <?php if($clientObj->country=="Sierra Leone")echo "selected";?>>Sierra Leone</option>

                  <option <?php if($clientObj->country=="Singapore")echo "selected";?>>Singapore</option>

                  <option <?php if($clientObj->country=="Slovakia")echo "selected";?>>Slovakia</option>

                  <option <?php if($clientObj->country=="Slovenia")echo "selected";?>>Slovenia</option>

                  <option <?php if($clientObj->country=="Solomon Islands")echo "selected";?>>Solomon Islands</option>

                  <option <?php if($clientObj->country=="Somalia")echo "selected";?>>Somalia</option>

                  <option <?php if($clientObj->country=="South Africa")echo "selected";?>>South Africa</option>

                  <option <?php if($clientObj->country=="Spain")echo "selected";?>>Spain</option>

                  <option <?php if($clientObj->country=="Sri Lanka")echo "selected";?>>Sri Lanka</option>

                  <option <?php if($clientObj->country=="Sudan")echo "selected";?>>Sudan</option>

                  <option <?php if($clientObj->country=="Suriname")echo "selected";?>>Suriname</option>

                  <option <?php if($clientObj->country=="Swaziland")echo "selected";?>>Swaziland</option>

                  <option <?php if($clientObj->country=="Sweden")echo "selected";?>>Sweden</option>

                  <option <?php if($clientObj->country=="Switzerland")echo "selected";?>>Switzerland</option>

                  <option <?php if($clientObj->country=="Syria")echo "selected";?>>Syria</option>

                  <option <?php if($clientObj->country=="Taiwan")echo "selected";?>>Taiwan</option>

                  <option <?php if($clientObj->country=="Tajikistan")echo "selected";?>>Tajikistan</option>

                  <option <?php if($clientObj->country=="Tanzania")echo "selected";?>>Tanzania</option>

                  <option <?php if($clientObj->country=="Thailand")echo "selected";?>>Thailand</option>

                  <option <?php if($clientObj->country=="Togo")echo "selected";?>>Togo</option>

                  <option <?php if($clientObj->country=="Tonga")echo "selected";?>>Tonga</option>

                  <option <?php if($clientObj->country=="Trinidad &amp; Tobago")echo "selected";?>>Trinidad &amp; Tobago</option>

                  <option <?php if($clientObj->country=="Tunisia")echo "selected";?>>Tunisia</option>

                  <option <?php if($clientObj->country=="Turkey")echo "selected";?>>Turkey</option>

                  <option <?php if($clientObj->country=="Turkmenistan")echo "selected";?>>Turkmenistan</option>

                  <option <?php if($clientObj->country=="Tuvalu")echo "selected";?>>Tuvalu</option>

                  <option <?php if($clientObj->country=="Uganda")echo "selected";?>>Uganda</option>

                  <option <?php if($clientObj->country=="Ukraine")echo "selected";?>>Ukraine</option>

                  <option <?php if($clientObj->country=="United Arab Emirates")echo "selected";?>>United Arab Emirates</option>

                  <option <?php if($clientObj->country=="United Kingdom")echo "selected";?>>United Kingdom</option>

                  <option <?php if($clientObj->country=="United States")echo "selected";?>>United States</option>

                  <option <?php if($clientObj->country=="Uruguay")echo "selected";?>>Uruguay</option>

                  <option <?php if($clientObj->country=="Uzbekistan")echo "selected";?>>Uzbekistan</option>

                  <option <?php if($clientObj->country=="Vanuatu")echo "selected";?>>Vanuatu</option>

                  <option <?php if($clientObj->country=="Vatican City")echo "selected";?>>Vatican City</option>

                  <option <?php if($clientObj->country=="Venezuea")echo "selected";?>>Venezuea</option>

                  <option <?php if($clientObj->country=="Vietnam")echo "selected";?>>Vietnam</option>

                  <option <?php if($clientObj->country=="Yemen")echo "selected";?>>Yemen</option>

                  <option <?php if($clientObj->country=="Zambia")echo "selected";?>>Zambia</option>

                  <option <?php if($clientObj->country=="Zimbabwe")echo "selected";?>>Zimbabwe</option>
<?php
}
?>
<?php function timezone(){ ?>
<option <?php if($clientObj->timezone=="Greenwich Mean Time(GMT) - GMT+00:00")echo "selected";?>>Greenwich Mean Time(GMT) - GMT+00:00</option>

                  <option <?php if($clientObj->timezone=="European Central Time(ECT) - GMT+01:00")echo "selected";?>>European Central Time(ECT) - GMT+01:00</option>

                  <option <?php if($clientObj->timezone=="Eastern European Time(EET) - GMT+02:00")echo "selected";?>>Eastern European Time(EET) - GMT+02:00</option>

                  <option <?php if($clientObj->timezone=="Arabic Standard Time(ART) - GMT+02:00")echo "selected";?>>Arabic Standard Time(ART) - GMT+02:00</option>

                  <option <?php if($clientObj->timezone=="Eastern African Time(EAT) - GMT+03:00")echo "selected";?>>Eastern African Time(EAT) - GMT+03:00</option>

                  <option <?php if($clientObj->timezone=="Middle East Time(MET) - GMT+03:30")echo "selected";?>>Middle East Time(MET) - GMT+03:30</option>

                  <option <?php if($clientObj->timezone=="Near East Time(NET) - GMT+04:00")echo "selected";?>>Near East Time(NET) - GMT+04:00</option>

                  <option <?php if($clientObj->timezone=="Pakistan Lahore Time(PLT) - GMT+05:00")echo "selected";?>>Pakistan Lahore Time(PLT) - GMT+05:00</option>

                  <option <?php if($clientObj->timezone=="Indian Standard Time(IST) - GMT+05:30")echo "selected";?>>Indian Standard Time(IST) - GMT+05:30</option>

                  <option <?php if($clientObj->timezone=="Bangladesh Standard Time(BST) - GMT+06:00")echo "selected";?>>Bangladesh Standard Time(BST) - GMT+06:00</option>

                  <option <?php if($clientObj->timezone=="Vietnam Standard Time(VST) - GMT+07:0")echo "selected";?>>Vietnam Standard Time(VST) - GMT+07:00</option>

                  <option <?php if($clientObj->timezone=="China Taiwan Time(CTT) - GMT+08:00")echo "selected";?>>China Taiwan Time(CTT) - GMT+08:00</option>

                  <option <?php if($clientObj->timezone=="Japan Standard Time(JST) - GMT+09:00")echo "selected";?>>Japan Standard Time(JST) - GMT+09:00</option>

                  <option <?php if($clientObj->timezone=="Australia Central Time(ACT) - GMT+09:30")echo "selected";?>>Australia Central Time(ACT) - GMT+09:30</option>

                  <option <?php if($clientObj->timezone=="Australia Eastern Time(AET) - GMT+10:00")echo "selected";?>>Australia Eastern Time(AET) - GMT+10:00</option>

                  <option <?php if($clientObj->timezone=="Solomon Standard Time(SST) - GMT+11:00")echo "selected";?>>Solomon Standard Time(SST) - GMT+11:00</option>

                  <option <?php if($clientObj->timezone=="New Zealand Standard Time(NST) - GMT+12:00")echo "selected";?>>New Zealand Standard Time(NST) - GMT+12:00</option>

                  <option <?php if($clientObj->timezone=="Midway Islands Time(MIT) - GMT-11:00")echo "selected";?>>Midway Islands Time(MIT) - GMT-11:00</option>

                  <option <?php if($clientObj->timezone=="Hawaii Standard Time(HST) - GMT-10:00")echo "selected";?>>Hawaii Standard Time(HST) - GMT-10:00</option>

                  <option <?php if($clientObj->timezone=="Alaska Standard Time(AST) - GMT-09:00")echo "selected";?>>Alaska Standard Time(AST) - GMT-09:00</option>

                  <option <?php if($clientObj->timezone=="Pacific Standard Time(PST) - GMT-08:00")echo "selected";?>>Pacific Standard Time(PST) - GMT-08:00</option>

                  <option <?php if($clientObj->timezone=="Phoenix Standard Time(PNT) - GMT-07:00")echo "selected";?>>Phoenix Standard Time(PNT) - GMT-07:00</option>

                  <option <?php if($clientObj->timezone=="Mountain Standard Time(MST) - GMT-07:00")echo "selected";?>>Mountain Standard Time(MST) - GMT-07:00</option>

                  <option <?php if($clientObj->timezone=="Central Standard Time(CST) - GMT-06:00")echo "selected";?>>Central Standard Time(CST) - GMT-06:00</option>

                  <option <?php if($clientObj->timezone=="Eastern Standard Time(EST) - GMT-05:00")echo "selected";?>>Eastern Standard Time(EST) - GMT-05:00</option>

                  <option <?php if($clientObj->timezone=="Indiana Eastern Standard Time(IET) - GMT-05:0")echo "selected";?>>Indiana Eastern Standard Time(IET) - GMT-05:00</option>

                  <option <?php if($clientObj->timezone=="Puerto Rico and US Virgin Islands Time(PRT) - GMT-04:00")echo "selected";?>>Puerto Rico and US Virgin Islands Time(PRT) - GMT-04:00</option>

                  <option <?php if($clientObj->timezone=="Canada Newfoundland Time(CNT) - GMT-03:30")echo "selected";?>>Canada Newfoundland Time(CNT) - GMT-03:30</option>

                  <option <?php if($clientObj->timezone=="Argentina Standard Time(AGT) - GMT-03:00")echo "selected";?>>Argentina Standard Time(AGT) - GMT-03:00</option>

                  <option <?php if($clientObj->timezone=="Brazil Eastern Time(BET) - GMT-03:00")echo "selected";?>>Brazil Eastern Time(BET) - GMT-03:00</option>

                  <option <?php if($clientObj->timezone=="Central African Time(CAT) - GMT-01:00")echo "selected";?>>Central African Time(CAT) - GMT-01:00</option>

<?php } ?>
<?php
/*Employee Country List*/
function emp_country()
{
?>
	<option value="Afghanistan" >Afghanistan</option>

                  <option value="Albania">Albania</option>

                  <option value="Algeria">Algeria</option>

                  <option value="Andorra">Andorra</option>

                  <option value="Afghanistan">Angola</option>

                  <option value="Antigua &amp; Deps">Antigua &amp; Deps</option>

                  <option value="Argentina">Argentina</option>

                  <option value="Armenia">Armenia</option>

                  <option value="Australia">Australia</option>

                  <option value="Austria">Austria</option>

                  <option value="Azerbaijan">Azerbaijan</option>

                  <option value="Bahamas">Bahamas</option>

                  <option value="Bahrain">Bahrain</option>

                  <option value="Bangladesh">Bangladesh</option>

                  <option value="Barbados">Barbados</option>

                  <option value="Belarus">Belarus</option>

                  <option value="Belgium">Belgium</option>

                  <option value="Belize">Belize</option>

                  <option value="Benin">Benin</option>

                  <option value="Bhutan">Bhutan</option>

                  <option value="Bolivia">Bolivia</option>

                  <option value="Bosnia Herzegovina">Bosnia Herzegovina</option>

                  <option value="Botswana">Botswana</option>

                  <option value="Brazil">Brazil</option>

                  <option value="Brunei">Brunei</option>

                  <option value="Bulgaria">Bulgaria</option>

                  <option value="Burkina">Burkina</option>

                  <option value="Burundi">Burundi</option>

                  <option value="Cambodia">Cambodia</option>

                  <option value="Cameroon">Cameroon</option>

                  <option value="Canada">Canada</option>

                  <option value="Cape Verde">Cape Verde</option>

                  <option value="Central African Rep">Central African Rep</option>

                  <option value="Chad">Chad</option>

                  <option value="Chile">Chile</option>

                  <option value="China">China</option>

                  <option value="Colombia">Colombia</option>

                  <option value="Comoros">Comoros</option>

                  <option value="Congo">Congo</option>

                  <option value="Congo {Democratic Rep}">Congo {Democratic Rep}</option>

                  <option value="Costa Rica">Costa Rica</option>

                  <option value="Croatia">Croatia</option>

                  <option value="Cuba">Cuba</option>

                  <option value="Cyprus">Cyprus</option>

                  <option value="Czech Republic">Czech Republic</option>

                  <option value="Denmark">Denmark</option>

                  <option value="Djibouti">Djibouti</option>

                  <option value="Dominica">Dominica</option>

                  <option value="Dominican Republic">Dominican Republic</option>

                  <option value="East Timor">East Timor</option>

                  <option value="Ecuador">Ecuador</option>

                  <option value="Egypt">Egypt</option>

                  <option value="El Salvador">El Salvador</option>

                  <option value="Equatorial Guinea">Equatorial Guinea</option>

                  <option value="Eritrea">Eritrea</option>

                  <option value="Estonia">Estonia</option>

                  <option value="Ethiopia">Ethiopia</option>

                  <option value="Fiji">Fiji</option>

                  <option value="Finland">Finland</option>

                  <option value="France">France</option>

                  <option value="Gabon">Gabon</option>

                  <option value="Gambia">Gambia</option>

                  <option value="Georgia">Georgia</option>

                  <option value="Germany">Germany</option>

                  <option value="Ghana">Ghana</option>

                  <option value="Greece">Greece</option>

                  <option value="Grenada">Grenada</option>

                  <option value="Guatemala">Guatemala</option>

                  <option value="Guinea">Guinea</option>

                  <option value="Guinea-Bissau">Guinea-Bissau</option>

                  <option value="Guyana">Guyana</option>

                  <option value="Haiti">Haiti</option>

                  <option value="Honduras">Honduras</option>

                  <option value="Hungary">Hungary</option>

                  <option value="Iceland">Iceland</option>

                  <option value="India">India</option>

                  <option value="Indonesia">Indonesia</option>

                  <option value="Iran">Iran</option>

                  <option value="Iraq">Iraq</option>

                  <option value="Ireland {Republic}">Ireland {Republic}</option>

                  <option value="Israel">Israel</option>

                  <option value="Italy">Italy</option>

                  <option value="Ivory Coast">Ivory Coast</option>

                  <option value="Jamaica">Jamaica</option>

                  <option value="Japan">Japan</option>

                  <option value="Jordan">Jordan</option>

                  <option value="Kazakhstan">Kazakhstan</option>

                  <option value="Kenya">Kenya</option>

                  <option value="Kiribati">Kiribati</option>

                  <option value="Korea North">Korea North</option>

                  <option value="Korea South">Korea South</option>

                  <option value="Kosovo">Kosovo</option>

                  <option value="Kuwait">Kuwait</option>

                  <option value="Kyrgyzstan">Kyrgyzstan</option>

                  <option value="Laos">Laos</option>

                  <option value="Latvia">Latvia</option>

                  <option value="Lebanon">Lebanon</option>

                  <option value="Lesotho">Lesotho</option>

                  <option value="Liberia">Liberia</option>

                  <option value="Libya">Libya</option>

                  <option value="Liechtenstein">Liechtenstein</option>

                  <option value="Lithuania">Lithuania</option>

                  <option value="Luxembourg">Luxembourg</option>

                  <option value="Macedonia">Macedonia</option>

                  <option value="Madagascar">Madagascar</option>

                  <option value="Malawi">Malawi</option>

                  <option value="Malaysia">Malaysia</option>

                  <option value="Maldives">Maldives</option>

                  <option value="Mali">Mali</option>

                  <option value="Malta">Malta</option>

                  <option value="Montenegro">Montenegro</option>

                  <option value="Marshall Islands">Marshall Islands</option>

                  <option value="Mauritania">Mauritania</option>

                  <option value="Mauritius">Mauritius</option>

                  <option value="Mexico">Mexico</option>

                  <option value="Micronesia">Micronesia</option>

                  <option value="Moldova">Moldova</option>

                  <option value="Monaco">Monaco</option>

                  <option value="Mongolia">Mongolia</option>

                  <option value="Morocco">Morocco</option>

                  <option value="Mozambique">Mozambique</option>

                  <option value="Myanmar, {Burma}">Myanmar, {Burma}</option>

                  <option value="Namibia">Namibia</option>

                  <option value="Nauru">Nauru</option>

                  <option value="Nepal">Nepal</option>

                  <option value="Netherlands">Netherlands</option>

                  <option value="New Zealand">New Zealand</option>

                  <option value="Nicaragua">Nicaragua</option>

                  <option value="Niger">Niger</option>

                  <option value="Nigeria">Nigeria</option>

                  <option value="Norway">Norway</option>

                  <option value="Oman">Oman</option>

                  <option value="Pakistan">Pakistan</option>

                  <option value="Panama">Panama</option>

                  <option value="Papua New Guinea">Papua New Guinea</option>

                  <option value="Paraguay">Paraguay</option>

                  <option value="Peru">Peru</option>

                  <option value="Philippines">Philippines</option>

                  <option value="Poland">Poland</option>

                  <option value="Portugal">Portugal</option>

                  <option value="Qatar">Qatar</option>

                  <option value="Romania">Romania</option>

                  <option value="Russian Federation">Russian Federation</option>

                  <option value="Rwanda">Rwanda</option>

                  <option value="St Kitts &amp; Nevis">St Kitts &amp; Nevis</option>

                  <option value="St Lucia">St Lucia</option>

                  <option value="Saint Vincent &amp; the Grenadines">Saint Vincent &amp; the Grenadines</option>

                  <option value="Samoa">Samoa</option>

                  <option value="San Marino">San Marino</option>

                  <option value="Sao Tome &amp; Principe">Sao Tome &amp; Principe</option>

                  <option value="Saudi Arabia">Saudi Arabia</option>

                  <option value="Senegal">Senegal</option>

                  <option value="Serbia">Serbia</option>

                  <option value="Seychelles">Seychelles</option>

                  <option value="Sierra Leone">Sierra Leone</option>

                  <option value="Singapore">Singapore</option>

                  <option value="Slovakia">Slovakia</option>

                  <option value="Slovenia">Slovenia</option>

                  <option value="Solomon Islands">Solomon Islands</option>

                  <option value="Somalia">Somalia</option>

                  <option value="South Africa">South Africa</option>

                  <option value="Spain">Spain</option>

                  <option value="Sri Lanka">Sri Lanka</option>

                  <option value="Sudan">Sudan</option>

                  <option value="Suriname">Suriname</option>

                  <option value="Swaziland">Swaziland</option>

                  <option value="Sweden">Sweden</option>

                  <option value="Switzerland">Switzerland</option>

                  <option value="Syria">Syria</option>

                  <option value="Taiwan">Taiwan</option>

                  <option value="Tajikistan">Tajikistan</option>

                  <option value="Tanzania">Tanzania</option>

                  <option value="Thailand">Thailand</option>

                  <option value="Togo">Togo</option>

                  <option value="Tonga">Tonga</option>

                  <option value="Trinidad &amp; Tobago">Trinidad &amp; Tobago</option>

                  <option value="Tunisia">Tunisia</option>

                  <option value="Turkey">Turkey</option>

                  <option value="Turkmenistan">Turkmenistan</option>

                  <option value="Tuvalu">Tuvalu</option>

                  <option value="Uganda">Uganda</option>

                  <option value="Ukraine">Ukraine</option>

                  <option value="United Arab Emirates">United Arab Emirates</option>

                  <option value="United Kingdom">United Kingdom</option>

                  <option value="United States">United States</option>


                  <option value="Uruguay">Uruguay</option>

                  <option value="Uzbekistan">Uzbekistan</option>

                  <option value="Vanuatu">Vanuatu</option>

                  <option value="Vatican City">Vatican City</option>

                  <option value="Venezuea">Venezuea</option>

                  <option value="Vietnam">Vietnam</option>

                  <option value="Yemen">Yemen</option>

                  <option value="Zambia">Zambia</option>

                  <option value="Zimbabwe">Zimbabwe</option>			
<?php
}
?>
                         
                         
                         <?php
			/*Time List*/
			function settime()
			{
		    ?>  <option value="6:00 AM">6:00 AM</option>
                <option value="6:15 AM">6:15 AM</option>
                <option value="6:30 AM">6:30 AM</option>
                <option value="6:45 AM">6:45 AM</option>
				<option value="7:00 AM">7:00 AM</option>
                <option value="7:15 AM">7:15 AM</option>
                <option value="7:30 AM">7:30 AM</option>
                <option value="7:45 AM">7:45 AM</option>
				<option value="8:00 AM">8:00 AM</option>
                <option value="8:15 AM">8:15 AM</option>
                <option value="8:30 AM">8:30 AM</option>
                <option value="8:45 AM">8:45 AM</option>
				<option value="9:00 AM">9:00 AM</option>
                <option value="9:15 AM">9:15 AM</option>
                <option value="9:30 AM">9:30 AM</option>
                <option value="9:45 AM">9:45 AM</option>
                <option value="10:00 AM">10:00 AM</option>
				<option value="10:15 AM">10:15 AM</option>
                <option value="10:30 AM">10:30 AM</option>
                <option value="10:45 AM">10:45 AM</option>
				<option value="11:00 AM">11:00 AM</option>
                <option value="11:15 AM">11:15 AM</option>
                <option value="11:30 AM">11:30 AM</option>
                <option value="11:45 AM">11:45 AM</option>
				<option value="12:00 PM">12:00 PM</option>
                <option value="12:15 PM">12:15 PM</option>
                <option value="12:30 PM">12:30 PM</option>
                <option value="12:45 PM">12:45 PM</option>
				<option value="1:00 PM">1:00 PM</option>
                <option value="1:15 PM">1:15 PM</option>
                <option value="1:30 PM">1:30 PM</option>
                <option value="1:45 PM">1:45 PM</option>
				<option value="2:00 PM">2:00 PM</option>
                <option value="2:15 PM">2:15 PM</option>
                <option value="2:30 PM">2:30 PM</option>
                <option value="2:45 PM">2:45 PM</option>
				<option value="3:00 PM">3:00 PM</option>
                 <option value="3:15 PM">3:15 PM</option>
                <option value="3:30 PM">3:30 PM</option>
                <option value="3:45 PM">3:45 PM</option>
				<option value="4:00 PM">4:00 PM</option>
                 <option value="4:15 PM">4:15 PM</option>
                <option value="4:30 PM">4:30 PM</option>
                <option value="4:45 PM">4:45 PM</option>
				<option value="5:00 PM">5:00 PM</option>
                 <option value="5:15 PM">5:15 PM</option>
                <option value="5:30 PM">5:30 PM</option>
                <option value="5:45 PM">5:45 PM</option>
				<option value="6:00 PM">6:00 PM</option>
                 <option value="6:15 PM">6:15 PM</option>
                <option value="6:30 PM">6:30 PM</option>
                <option value="6:45 PM">6:45 PM</option>
				<option value="7:00 PM">7:00 PM</option>
                 <option value="7:15 PM">7:15 PM</option>
                <option value="7:30 PM">7:30 PM</option>
                <option value="7:45 PM">7:45 PM</option>
				<option value="8:00 PM">8:00 PM</option>
                 <option value="8:15 PM">8:15 PM</option>
                <option value="8:30 PM">8:30 PM</option>
                <option value="8:45 PM">8:45 PM</option>
				<option value="9:00 PM">9:00 PM</option>
                 <option value="9:15 PM">9:15 PM</option>
                <option value="9:30 PM">9:30 PM</option>
                <option value="9:45 PM">9:45 PM</option>
				<option value="10:00 PM">10:00 PM</option>
                 <option value="10:15 PM">10:15 PM</option>
                <option value="10:30 PM">10:30 PM</option>
                <option value="10:45 PM">10:45 PM</option>
                <option value="11:00 PM">11:00 PM</option>
                 <option value="11:15 PM">11:15 PM</option>
                <option value="11:30 PM">11:30 PM</option>
                <option value="11:45 PM">11:45 PM</option>
                <option value="12:00 AM">12:00 AM</option>
                 <option value="12:15 PM">12:15 PM</option>
                <option value="12:30 PM">12:30 PM</option>
                <option value="12:45 PM">12:45 PM</option>
				<option value="1:00 AM">1:00 AM</option>
                 <option value="1:15 AM">1:15 AM</option>
                <option value="1:30 AM">1:30 AM</option>
                <option value="1:45 AM">1:45 AM</option>
				<option value="2:00 AM">2:00 AM</option>
                 <option value="2:15 AM">2:15 AM</option>
                <option value="2:30 AM">2:30 AM</option>
                <option value="2:45 AM">2:45 AM</option>
				<option value="3:00 AM">3:00 AM</option>
                 <option value="3:15 AM">3:15 AM</option>
                <option value="3:30 AM">3:30 AM</option>
                <option value="3:45 AM">3:45 AM</option>
				<option value="4:00 AM">4:00 AM</option>
                 <option value="4:15 AM">4:15 AM</option>
                <option value="4:30 AM">4:30 AM</option>
                <option value="4:45 AM">4:45 AM</option>
				<option value="5:00 AM">5:00 AM</option>
                 <option value="5:15 AM">5:15 AM</option>
                <option value="5:30 AM">5:30 AM</option>
                <option value="5:45 AM">5:45 AM</option>
<?php
}
?>