One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
admin
/
inactive
/
View File Name :
bar.php
<?php /*________________________________________________________________ lixlpixel PHParadise _______________________________________________________________________ category : html and code snippet : simple bar chart downloaded : 03.22.2006 - 06:19 file URL : http://www.fundisom.com/phparadise/php/html_and_code/simple_bar_chart description : this simple bar chart doesn't require any image manipulation software on the server. it's done only in html and uses percentages in tables to show the chart. ___________________________START___COPYING___HERE__________________*/ ?> <?php // total width $total_width = 600; // base color $base_color = 'silver'; // add an array per field to show $graphs = array( array('label'=>'whatever', 'color'=>'red', 'amount'=>'30'), array('label'=>'more here', 'color'=>'green', 'amount'=>'36'), array('label'=>'just an example', 'color'=>'blue', 'amount'=>'82'), array('label'=>'even more', 'color'=>'orange', 'amount'=>'4'), ); for($x = 0; $x < count($graphs); $x++) { echo ' <table width="'.$total_width.'"> <tr> <td colspan="2"> '.$graphs[$x]['label'].' </td> </tr> <tr> <td width="'.$graphs[$x]['amount'].'%" bgcolor="'.$graphs[$x]['color'].'"> '.$graphs[$x]['amount'].'% </td> <td width="'.(100-$graphs[$x]['amount']).'%" bgcolor="'.$base_color.'"> </td> </tr> </table>'; } ?> <?php /*_____________________END___OF___THE___CODE______________________ get more code from http://www.fundisom.com/phparadise/ ___________________________________________________________________*/ ?>