????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.141.167.59 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/labs.astacus.se/af/ |
Upload File : |
<?php $link = mysql_connect ("localhost", "root", "root123"); mysql_select_db ("labs_web"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta http-equiv="refresh" content="2" /> <title>Diagram</title> <style type="text/css"> .tet { font-family: Verdana, Geneva, sans-serif; font-size: 10px; color: #FFF; } .rub { font-size: 24px; } </style> </head> <body bgcolor="#0076b8"> <p> <?php $sql ="SELECT * FROM bravidaq WHERE category = 'Arkitekter';"; $result = mysql_query($sql); $x = 0; $a1_1 = 0; $a1_0 = 0; $a2_1 = 0; $a2_0 = 0; $a3_1 = 0; $a3_0 = 0; $a4_1 = 0; $a4_0 = 0; $a5_1 = 0; $a5_0 = 0; while ($row = mysql_fetch_assoc($result)){ if($row['a1'] == "1"){$a1_1++;}else{$a1_0++;} if($row['a2'] == "1"){$a2_1++;}else{$a2_0++;} if($row['a3'] == "1"){$a3_1++;}else{$a3_0++;} if($row['a4'] == "1"){$a4_1++;}else{$a4_0++;} if($row['a5'] == "1"){$a5_1++;}else{$a5_0++;} $x++; } ?> </p> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <tr class="tet"> <td width="149" valign="top"><span class="rub"><img src="af.png" width="100" height="100" /></span><br /></td> <td width="851" valign="middle"><span class="rub">Kategori: Arkitekter</span></td> </tr> </table> <br /> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <tr class="tet"> <td width="206" valign="top"><table width="150" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a1_0/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" valign="top" bgcolor="#00FF00"><img src="g1.png" width="75" height="8" /></td> </tr> <tr> <td height="100%" align="center" bgcolor="#00FF00" background="g2.png">JA<br /><?php echo(round(($a1_0/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" valign="bottom" bgcolor="#00FF00"><img src="g3.png" width="75" height="8" /></td> </tr> </table></td> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a1_1/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r1.png" width="75" height="8" /></td> </tr> <tr> <td height="0" align="center" bgcolor="#FF0000" class="tet" background="r2.png">NEJ<br /><?php echo(round(($a1_1/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r3.png" width="75" height="8" /></td> </tr> </table></td> </tr> </table> <br /> Tycker du det är roligt att <br /> vara Arkitekt?</td> <td width="204" valign="top"><table width="150" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a2_0/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" valign="top" bgcolor="#00FF00"><img src="g1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="100%" align="center" bgcolor="#00FF00" background="g2.png">JA<br /><?php echo(round(($a2_0/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" valign="bottom" bgcolor="#00FF00"><img src="g3.png" alt="" width="75" height="8" /></td> </tr> </table></td> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a2_1/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="0" align="center" bgcolor="#FF0000" class="tet" background="r2.png">NEJ<br /><?php echo(round(($a2_1/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r3.png" alt="" width="75" height="8" /></td> </tr> </table></td> </tr> </table> <br /> Tror du att BIM kommer vara <br /> det gällande om 10 år?</td> <td width="210" valign="top"><table width="150" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a3_0/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" valign="top" bgcolor="#00FF00"><img src="g1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="100%" align="center" bgcolor="#00FF00" background="g2.png">JA<br /><?php echo(round(($a3_0/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" valign="bottom" bgcolor="#00FF00"><img src="g3.png" alt="" width="75" height="8" /></td> </tr> </table></td> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a3_1/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="0" align="center" bgcolor="#FF0000" class="tet" background="r2.png">NEJ<br /><?php echo(round(($a3_1/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r3.png" alt="" width="75" height="8" /></td> </tr> </table></td> </tr> </table> <br /> Använder ni ofta laserscanning<br /> i era projekt?</td> <td width="215" valign="top"><table width="150" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a4_0/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" valign="top" bgcolor="#00FF00"><img src="g1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="100%" align="center" bgcolor="#00FF00" background="g2.png">JA<br /><?php echo(round(($a4_0/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" valign="bottom" bgcolor="#00FF00"><img src="g3.png" alt="" width="75" height="8" /></td> </tr> </table></td> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a4_1/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="0" align="center" bgcolor="#FF0000" class="tet" background="r2.png">NEJ<br /><?php echo(round(($a4_1/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r3.png" alt="" width="75" height="8" /></td> </tr> </table></td> </tr> </table> <br /> Har ni några certifieringar?</td> <td width="165" valign="top"><table width="150" height="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a5_0/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" valign="top" bgcolor="#00FF00"><img src="g1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="100%" align="center" bgcolor="#00FF00" background="g2.png">JA<br /><?php echo(round(($a5_0/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" valign="bottom" bgcolor="#00FF00"><img src="g3.png" alt="" width="75" height="8" /></td> </tr> </table></td> <td width="75" valign="bottom" bgcolor="#CCCCCC" background="bg.png"><table width="75" height="<?php echo(($a5_1/$x)*200);?>" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r1.png" alt="" width="75" height="8" /></td> </tr> <tr> <td height="0" align="center" bgcolor="#FF0000" class="tet" background="r2.png">NEJ<br /><?php echo(round(($a5_1/$x)*100))?>%</td> </tr> <tr> <td height="8" align="center" bgcolor="#FF0000" class="tet"><img src="r3.png" alt="" width="75" height="8" /></td> </tr> </table></td> </tr> </table> <br /> Har du jobbat i mer än 3 år?</td> </tr> </table> </body> </html>