( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/energy/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0005232480{main}( ).../index.php:0
20.0007233808include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/incs/config.php' ).../index.php:4
30.0018257128include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/incs/addcode.php' ).../config.php:72
40.0019258760db_connect_all( ).../addcode.php:14
50.0020260248mysql_connect ( ).../functions.db.php:13
TableStyle = $Style; } function HeaderStyle($Style) //function to set CSS styles for header row { $this->HeaderStyle = $Style; } function RowStyle($Style) //function to set CSS styles for rows { $this->RowStyle = $Style; } function AltRowStyle($Style) //function to set CSS styles for alternate rows { $this->AltRowStyle = $Style; } function FooterStyle($Style) //function to set CSS styles for footer row { $this->FooterStyle = $Style; } function PrintTable() //function to print table or error list { if(empty($this->Errors)){ switch($this->QryType){ case "select": //SELECT STATEMENTS $Result = mysql_query($this->StrQuery); $Table = "TableStyle}\">"; if(mysql_error()){ $Table.="HeaderStyle}\">"; $Table.="RowStyle}\">"; }else{ //Header Row with Field Names $NumFields = mysql_num_fields($Result); $Table.= "HeaderStyle}\">"; for ($i=0; $i < $NumFields; $i++){ $Table.= ""; } $Table.= ""; //Loop thru results $RowCt = 0; //Row Counter while($Row = mysql_fetch_assoc($Result)){ //Alternate colors for rows if(isset($this->AltRowStyle)){ if($RowCt++ % 2 == 0) $Style = $this->RowStyle; else $Style = $this->AltRowStyle; }else{ $Style = $this->RowStyle; } $Table.= ""; //Loop thru each field foreach($Row as $field => $value){ if(is_numeric($value)){ $cellstyle = "align=right"; }else{ $cellstyle = "align=left"; } $Table.= ""; } $Table.= ""; } $Table.= "FooterStyle}\">"; } $Table.="
MySQL Error Occurred:
MySQL Error: " . mysql_error() . "
" . mysql_field_name($Result, $i) . "
$value

Query returned " . mysql_num_rows($Result) . " records

"; break; default: //Everything Else mysql_query($this->StrQuery); $Table = "TableStyle}\">"; if(mysql_error()) { $Table.="HeaderStyle}\">"; $Table.="RowStyle}\">"; } else { $Table.="HeaderStyle}\">"; $Table.="RowStyle}\">"; $Table.="FooterStyle}\">"; } $Table.="
MySQL Error Occurred:
MySQL Error: " . mysql_error() . "
Successfully Executed Query!
Query String: {$this->StrQuery}
Query Affected " . mysql_affected_rows() . " Rows
"; break; } return $Table; }else{ $Table = "The Following Errors occurred initializing the table class:
"; $Table .= ""; return $Table; } } function SqlTable($Query) //Constructor function { $AppTypes = array("select", "delete", "insert", "update"); //Applicable Query Types $Query = trim($Query); //Trim excess spaces $Pos = strpos($Query, " "); //Find position of first space $Type = strtolower(substr($Query, 0, $Pos)); //Query type is the first word of the query if(in_array($Type, $AppTypes)) { //if the query type is in the array of applicable query types $this->StrQuery = $Query; $this->QryType = $Type; } else { //If not, produce error $this->Errors[] = "Query type ($Type) is not available"; } } } ?>
( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/energy/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0005232480{main}( ).../index.php:0
20.0042282928include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/sql/get_top5.php' ).../index.php:13
30.0042283064db_connect_all( ).../get_top5.php:8
40.0042283976mysql_connect ( ).../functions.db.php:13

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/energy/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0005232480{main}( ).../index.php:0
20.0055287472include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/sql/get_properties.php' ).../index.php:39
30.0055287472db_connect_all( ).../get_properties.php:4
40.0055288376mysql_connect ( ).../functions.db.php:13

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/energy/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0005232480{main}( ).../index.php:0
20.0061287720include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/sql/get_movies.php' ).../index.php:58
30.0061287856db_connect_all( ).../get_movies.php:6
40.0061288752mysql_connect ( ).../functions.db.php:13

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/energy/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0005232480{main}( ).../index.php:0
20.0068292528include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/sql/play_movie.php' ).../index.php:69
30.0068292528db_connect_all( ).../play_movie.php:6
40.0068293448mysql_connect ( ).../functions.db.php:13

( ! ) Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/vhosts/isaris.nl/httpdocs/ppm/energy/funcs/functions.db.php on line 13
Call Stack
#TimeMemoryFunctionLocation
10.0005232480{main}( ).../index.php:0
20.0080298216include( '/var/www/vhosts/isaris.nl/httpdocs/ppm/energy/sql/get_selectedmovies.php' ).../index.php:88
30.0080298168db_connect_all( ).../get_selectedmovies.php:7
40.0080299064mysql_connect ( ).../functions.db.php:13
ENERGY MOVIES
Contact
Browse
Home

TOP MOVIES

Brian Cox: What really goes on at the Large Hadron Collider
Wonders of the Solar System: View from the Edge
How Solar Energy Panels Work
wind energy electrical energy
selected movies
What is Energy?
latest movies
Windturbine animation
My 6KW Solar System
How Solar Energy Panels Work
Three Solar Food Dehydrators - solar energy at work!
The sun's energy on earth - Wonders of the Solar System - BBC

Copyright © 2012 - All Rights Reserved | Privacy Policy | FAQ | info@ppmvideos.com