<?php HTML_Render_Head($js_vars, 'Setup'); echo $JS_JQuery; echo $CSS_Main; HTML_Render_Body_StartInstall(); genHeading('InstallationComplete', true); ?> <p><?php echo getTxt('CongratsInstall'); ?> </p> <p><?php echo getTxt('Login'); ?> </p> <p><a href='<?php echo base_url('index.php/' . $db . '/home'); ?> ' class="button2"><?php echo getTxt('GoToSite'); ?> </a></p> </div> <?php HTML_Render_Body_End();
<?php HTML_Render_Head($js_vars, getTxt('AddSiteButton')); echo $CSS_Main; echo $JS_JQuery; echo $JS_Forms; echo $JS_DropDown; echo $JS_SiteCreate; ?> <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=AIzaSyC3d042tZnUAA8256hCC2Y6QeTSREaxrY0&sensor=true"></script> <script type="text/javascript" src="<?php echo base_url('assets/js/site_maps.js'); ?> "></script> <script> function setDefaults() { //Set Default Datum var defaultDatum = "<?php echo $this->config->item('default_datum'); ?> "; if(defaultDatum=="") { defaultDatum="MSL"; $('#VerticalDatum').val(defaultDatum); } //Check if it was an invalid datum, if so reset to MSL if($('#VerticalDatum').val()==-1) { $('#VerticalDatum').val('MSL');
<?php HTML_Render_Head($js_vars, getTxt('AddMethodButton')); echo $JS_JQuery; // only Jquery needed. echo $CSS_JQX; echo $JS_JQX; echo $JS_GetTheme; echo $CSS_Main; ?> <script type="text/javascript"> var varmeth=""; $(document).ready(function(){ $("#msg").hide(); var source = { datatype: "json", datafields: [ { name: 'VarNameMod' }, { name: 'VariableID' }, ], url: base_url+'variable/getAllJSON2' }; var dataAdapter = new $.jqx.dataAdapter(source); // Create a jqxListBox $("#jqxWidget").jqxListBox({source: dataAdapter, theme: 'darkblue', multiple: true, width: '94%', height: 300, displayMember: "VarNameMod", valueMember: "VariableID"}); }); </script> <?php HTML_Render_Body_Start();
<?php echo HTML_Render_Head($js_vars, getTxt('AddUser')); echo $CSS_Main; echo $JS_JQuery; echo $JS_CreateUserName; HTML_Render_Body_Start(); genHeading('AddNewUser', true); $attributes = array('class' => 'form-horizontal', 'id' => 'newuser'); echo form_open('user/doadd', $attributes); genInput('FirstName', 'firstname', 'firstname', true); genInput('LastName', 'lastname', 'lastname', true); genInputT('UserName', 'username', 'username', true, $extra = "", 'FirstLastNameExample'); echo '<span id="user-result"></span>'; //echo '<span class="help-block">'.getTxt('FirstLastNameExample').'</span>'; genInputT('Password', 'password', 'password', true, $extra = "", 'CaseSensitive'); //echo '<span class="help-block">'.getTxt('CaseSensitive').'</span>'; genSelect('Authority', "authority", "authority", $selection, 'SelectLevel', true); ?> <div class="col-md-5 col-md-offset-5"> <input type="SUBMIT" name="submit" value="<?php echo getTxt('AddUser'); ?> " class="button"/> <input type="reset" name="Reset" value="<?php echo getTxt('Cancel'); ?> " class="button" style="width: auto" /> </div> <div id="checkStatus" hidden="true"></div> </FORM>
<?php HTML_Render_Head($js_vars, getTxt('Home')); echo $CSS_Main; echo $JS_JQuery; echo $JS_Forms; HTML_Render_Body_Start(); ?> <br /> <div class="col-md-6"> <?php showMsgs(); ?> <?php if ($welcome) { ?> <h1><?php echo $welcome[0]; ?> </h1> <h4><?php echo $welcome[1]; ?> </h4> <p><?php echo $welcome[2]; ?> </p> <p><?php echo $welcome[3]; ?>
<?php HTML_Render_Head($js_vars, getTxt('AddData')); ?> <script type="text/javascript"> //For loading language variables that are required in javascript. phpVars = {}; <?php echo 'phpVars.NoMethodsVariable="' . getTxt('NoMethodsVariable') . '";'; echo 'phpVars.NoSitesSource="' . getTxt('NoSitesSource') . '";'; echo 'phpVars.SelectVariable="' . getTxt('SelectVariable') . '";'; echo 'phpVars.SelectSite="' . getTxt('SelectSite2') . '";'; ?> </script> <?php echo $JS_FormValidation; echo $CSS_JQuery_UI; echo $JS_JQuery; echo $JS_JQueryUI; echo $JS_Forms; echo $JS_GetTheme; echo $JS_JQX; echo $CSS_JQStyles; echo $CSS_JQX; echo $CSS_Main; ?> <script type="text/javascript"> var glob_siteid=1; var row_no=1; var row_id=new Array; row_id[0]="VariableID1";
<?php HTML_Render_Head($js_vars, getTxt('ChangeMethod')); echo $CSS_JQX; echo $JS_GetTheme; echo $JS_JQuery; echo $JS_JQX; echo $CSS_Main; ?> <script type="text/javascript"> $(document).ready(function(){ $('#window').hide(); $('#window').jqxWindow({ height: 150, width: 200, theme: 'darkblue' }); $('#window').jqxWindow('hide'); $("#Yup").click(function(){ deleteMethod(); $("#window").jqxWindow('hide'); }); $("#No").click(function(){ $('#window').jqxWindow('hide'); }); }); function confirmBox(){ $('#window').show(); $('#window').jqxWindow('show'); }
<?php $default_timesupport = ""; HTML_Render_Head($js_vars, getTxt('ChangeVariable')); echo $CSS_Main; echo $JS_JQuery; echo $CSS_JQStyles; echo $CSS_JQX; echo $JS_JQX; ?> <script type="text/javascript"> var unitsid=0; //Default Parameter //Can be linked to the config page var nodatavalue=-9999; $(document).ready(function(){ $("#del").click(function(){ $.ajax({ dataType: "json", url: base_url+"variable/delete/"+$('#varid').val()+"?ui=1"}).done(function(msg){ if(msg.status=="success") { window.open(base_url+"variable/edit/","_self"); return true; } else{ alert(<?php echo "'" . getTxt('ProcessingError') . "'"; ?>
<?php HTML_Render_Head($js_vars, getTxt('AddNewBanner')); echo $CSS_Main; echo $JS_JQuery; echo $JS_Forms; echo $JS_DropDown; echo $JS_SiteCreate; HTML_Render_Body_Start(); genHeading('AddNewBanner', true); $attributes = array('class' => 'form-horizontal', 'name' => 'banner', 'id' => 'banner'); echo form_open_multipart('banner/add', $attributes); echo '<div class="form-group"> <label class="col-sm-2 control-label">' . getTxt('banner') . '</label> <div class="col-sm-10"> <input class="form-control" type="file" name="banner" id="banner" size="30">'; echo '</div> </div><br>'; echo getTxt('ExSitePhoto'); //Not altering map structure for now. As its responsive. In case it causes issues, the code can be altered here. ?> <div class="col-md-5 col-md-offset-5"> <input type="SUBMIT" name="submit" value="<?php echo getTxt('Submit'); ?> " class="button" width="auto"/> <input id="resetButton" type="button" name="resetButton" value="<?php echo getTxt('Cancel'); ?> " class="button" style="width: auto" /> </FORM>
<?php HTML_Render_Head($js_vars, getTxt('EditWelcomePage')); echo $CSS_Main; echo $JS_JQuery; echo $JS_Forms; HTML_Render_Body_Start(); genHeading('EditWelcomePage', true); $attributes = array('class' => 'form-horizontal', 'name' => 'welcome', 'id' => 'welcome'); echo form_open('home/edit', $attributes); genInput('Title', 'title', 'title', true); genInput('OrganizationName', 'groupname', 'groupname', true); genInputD('Description', 'description', 'description', true); genInput('Citation', 'citation', 'citation', true); ?> <div class="col-md-5 col-md-offset-5"> <input type="SUBMIT" name="submit" value="<?php echo getTxt('Submit'); ?> " class="button"/> <input type="reset" name="Reset" value="<?php echo getTxt('Cancel'); ?> " class="button" style="width: auto" /> </div> </FORM> </div> </div> <?php HTML_Render_Body_End(); ?>
<?php HTML_Render_Head($js_vars, getTxt('UpdateSCButton')); echo $JS_JQuery; echo $CSS_JQX; echo $JS_JQX; echo $JS_GetTheme; echo $CSS_Main; ?> <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'darkblue'; var source = { datatype: "json", datafields: [ { name: 'SeriesID' }, { name: 'SiteID' }, { name: 'SiteCode' }, { name: 'SiteName' }, { name: 'SiteType' }, { name: 'VariableID' }, { name: 'VariableName' }, { name: 'Speciation' }, { name: 'VariableunitsID' }, { name: 'VariableunitsName' }, { name: 'SampleMedium' }, { name: 'ValueType' }, { name: 'TimeSupport' },
<?php HTML_Render_Head($js_vars, getTxt('ChangeSite')); ?> <script type="text/javascript"> //For loading language variables that are required in javascript. phpVars = {}; <?php echo 'phpVars.NoSitesSource="' . getTxt('NoSitesSource') . '";'; echo 'phpVars.SelectSite="' . getTxt('SelectSite2') . '";'; ?> </script> <?php echo $CSS_Main; echo $JS_JQuery; echo $JS_Forms; echo $CSS_JQX; echo $JS_GetTheme; echo $JS_JQX; echo $JS_DropDown; ?> <script type="text/javascript"> function show_answer(){ //alert("If you do not see your SITE listed here, please contact your supervisor and ask them to add it before entering data."); alert(<?php echo "'" . getTxt('SiteNotListedContact') . "'"; ?> ); }
<?php HTML_Render_Head($js_vars, getTxt('ChangeAuthorityButton')); echo $CSS_Main; echo $JS_JQuery; HTML_Render_Body_Start(); genHeading('ChangeUserAuthority', true); $attributes = array('class' => 'form-horizontal'); echo form_open('user/edit', $attributes); genSelect('UserName', "username", "username", $option_block, 'SelectUsernameEllipisis', true); genSelect('NewAuthority', "authority", "authority", $selection, 'SelectLevel', true); genSubmit('ChangeAuthorityButton'); HTML_Render_Body_End();
<?php HTML_Render_Head($js_vars, getTxt('Help')); echo $CSS_Main; echo $JS_JQuery; HTML_Render_Body_Start(); ?> <div class='col-md-9'> <br /> <h1><?php echo getTxt('FAQ'); ?> </h1> <p><?php echo getTxt('ReviewBelow'); ?> </p> <!--<p><a href="#Register">How do I register for an account?</a><br> <a href="#Bug">Need to report a bug?</a><br> <a href="#SourceVsSite">What's the difference between a source and a site?</a><br> <a href="#Method">Why can't I get a specific Method to delete?</a><br> <a href="#Successful">How do I know if my data was entered successfully?</a><br> <a href="#DeleteValues">Can I delete values if I realize I entered something incorrectly?</a><br> <a href="#AddMethod">How do I add a new method?</a><br> <a href="#database">Where can I find additional information about the database?</a><br> <a href="#Questions">Still have questions?</a><br> <a href="#CreatSite">Ready to create a website of your own?</a> </p> <hr width="400">--> <p><strong><a name="Register"></a><?php echo getTxt('Register'); ?>
<?php header('Content-Type: text/html; charset=utf-8'); HTML_Render_Head($js_vars, getTxt('SearchData')); echo $JS_JQuery; echo $JS_JQueryUI; echo $JS_JQX; echo $JS_GetTheme; echo $JS_Globalization; // this is the only page that calls this. This is also the only refernce to MooTools echo $JS_Maps; echo $CSS_JQX; echo $CSS_Main; echo $CSS_JQuery_UI; echo $CSS_JQStyles; ?> <!--Main Script to display the data--> <script type="text/javascript"> var siteid=<?php echo $SiteID; ?> ; var glob_df; var glob_dt; var date_to; var date_from; var date_select_to; var date_select_from; var varid; var date_from_sql; var date_to_sql;
<?php HTML_Render_Head($js_vars, getTxt('RemoveUser')); echo $CSS_Main; echo $JS_JQuery; HTML_Render_Body_Start(); genHeading('RemoveExistingUser', true); $attributes = array('class' => 'form-horizontal'); echo form_open('user/delete', $attributes); genSelect('UserName', "username", "username", $option_block, 'SelectUsernameEllipisis', true); genSubmit('RemoveUser'); HTML_Render_Body_End();
<?php $default_timesupport = $DefaultTS; //Come from config. HTML_Render_Head($js_vars, getTxt('AddVariableButton')); echo $JS_JQuery; echo $CSS_JQX; echo $JS_JQX; echo $JS_Forms; echo $CSS_Main; ?> <script type="text/javascript"> var unitsid=0; //Default Parameter //Can be linked to the config page var nodatavalue=-9999; $(document).ready(function(){ $("#msg").hide(); $("#new_spec").hide(); $("#unit").hide(); $("#unittext").hide(); $("#newunit").hide(); $("#smother").hide(); $("#newunitonly").hide(); $("#valuetypenewb").hide(); $("#newvarnameb").hide(); //List : Speciation var selec_ind=0; var url=base_url+"variable/getTable/speciationcv";
<?php HTML_Render_Head($js_vars, getTxt('ChangePassword')); echo $CSS_Main; echo $JS_JQuery; HTML_Render_Body_Start(); genHeading('ChangeUserPassword', true); $attributes = array('class' => 'form-horizontal'); echo form_open('user/changepass', $attributes); genSelect('UserName', "username", "username", $option_block, 'SelectUsernameEllipisis', true); genInput('NewPassword', 'password', 'password', true); genSubmit('ChangePassword'); HTML_Render_Body_End();