echo $bar->getStyle(); ?> body { background-color: #C3C6C3; color: #000000; font-family: Verdana, Arial; } a:visited, a:active, a:link { color: navy; } // --> </style> <script type="text/javascript"> <!-- <?php echo $bar->getScript(); ?> //--> </script> </head> <body> <?php echo $bar->toHtml(); $bar->run(); ?> </body> </html>
"http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Model Progress example</title> <style type="text/css"> <!-- <?php echo $bar->getStyle(); ?> // --> </style> <script type="text/javascript"> <!-- <?php $js = $bar->getScript(); if (is_file($js)) { echo file_get_contents($js); } else { echo $js; } ?> //--> </script> </head> <body> <?php echo $bar->toHtml(); $bar->run(); ?>
function InitProgressBar($increment = 1) { global $progress_bar; $progress_bar = new HTML_Progress(); $progress_bar->setAnimSpeed(100); //$progress_bar->setIncrement( (int)$increment ); //$progress_bar->setIndeterminate(true); $progress_bar->setBorderPainted(true); $ui =& $progress_bar->getUI(); $ui->setCellAttributes('active-color=#3874B4 inactive-color=#CCCCCC width=10'); $ui->setBorderAttributes('width=1 color=navy'); $ui->setStringAttributes('width=60 font-size=14 background-color=#FFFFFF align=center'); ?> <html> <head> <style type="text/css"> <!-- <?php echo $progress_bar->getStyle(); ?> body { background-color: #FFFFFF; color: #FFFFFF; font-family: Verdana, freesans; } a:visited, a:active, a:link { color: yellow; } // --> </style> <script type="text/javascript"> <!-- <?php echo $progress_bar->getScript(); ?> //--> </script> </head> <body> <div align="center"> <?php echo $progress_bar->toHtml(); }
<!-- body { background-color: #CCCC99; color: #996; font-family: Verdana, Arial; } <?php echo $meter->getStyle(); ?> // --> </style> <script type="text/javascript"> <!-- <?php echo $meter->getScript(); ?> //--> </script> </head> <body> <?php echo $meter->toHtml(); @set_time_limit(0); // unlimited time operation (removed 30s default restriction) $f = new Net_FTP(); // // 3. connect to the FTP server // $ret = $f->connect($ftp['host'], $ftp['port']);
<style type="text/css"> <!-- body { background-color: #C3C6C3; color: #000000; font-family: Verdana, Arial; } <?php echo $progress->getStyle(); ?> // --> </style> <script type="text/javascript"> <!-- <?php echo $progress->getScript(); ?> //--> </script> </head> <body> <?php echo $progress->toHtml(); if (isset($_GET['ID'])) { if ($version > 1.1) { $progress->run(); // run method is born on version 1.2.0RC3 } else { // do the same as run() method do {
color: navy; } table.container { border: 1; border-color: navy; border-style: dotted; cell-spacing: 4; cell-padding: 10; width: 25%; // --> </style> <script type="text/javascript"> <!-- <?php echo $bar1->getScript(); ?> //--> </script> </head> <body> <table class="container"> <tr> <td width="50%" align="center"> <?php echo $bar1->toHTML(); ?> </td> <td width="50%" align="center">