414 <a href="http://www.php.net/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;"> |
414 <a href="http://www.php.net/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;"> |
415 <img alt="Written in PHP" src="<?php echo scriptPath; ?>/images/about-powered-php.png" style="border-width: 0px;" width="88" height="31" /> |
415 <img alt="Written in PHP" src="<?php echo scriptPath; ?>/images/about-powered-php.png" style="border-width: 0px;" width="88" height="31" /> |
416 </a> |
416 </a> |
417 </td> |
417 </td> |
418 <td style="text-align: center;"> |
418 <td style="text-align: center;"> |
419 <a href="http://www.mysql.com/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;"> |
419 <?php |
420 <img alt="Database engine powered by MySQL" src="<?php echo scriptPath; ?>/images/about-powered-mysql.png" style="border-width: 0px;" width="88" height="31" /> |
420 switch(ENANO_DBLAYER) |
421 </a> |
421 { |
|
422 case 'MYSQL': |
|
423 ?> |
|
424 <a href="http://www.mysql.com/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;"> |
|
425 <img alt="Database engine powered by MySQL" src="<?php echo scriptPath; ?>/images/about-powered-mysql.png" style="border-width: 0px;" width="88" height="31" /> |
|
426 </a> |
|
427 <?php |
|
428 break; |
|
429 case 'PGSQL': |
|
430 ?> |
|
431 <a href="http://www.postgresql.org/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;"> |
|
432 <img alt="Database engine powered by PostgreSQL" src="<?php echo scriptPath; ?>/images/about-powered-pgsql.png" style="border-width: 0px;" width="90" height="30" /> |
|
433 </a> |
|
434 <?php |
|
435 break; |
|
436 } |
|
437 ?> |
422 </td> |
438 </td> |
423 </tr> |
439 </tr> |
424 </table> |
440 </table> |
425 </td> |
441 </td> |
426 </tr> |
442 </tr> |
427 <tr><td style="width: 100px;" class="row1"><a href="http://enanocms.org">Enano</a> version:</td><td class="row1"><?php echo enano_version(true) . ' (' . enano_codename() . ')'; ?></td></tr> |
443 <tr><td style="width: 100px;" class="row1"><a href="http://enanocms.org">Enano</a> version:</td><td class="row1"><?php echo enano_version(true) . ' (' . enano_codename() . ')'; ?></td></tr> |
428 <tr><td style="width: 100px;" class="row2">Web server:</td><td class="row2"><?php if(isset($_SERVER['SERVER_SOFTWARE'])) echo $_SERVER['SERVER_SOFTWARE']; else echo 'Unable to determine web server software.'; ?></td></tr> |
444 <tr><td style="width: 100px;" class="row2">Web server:</td><td class="row2"><?php if(isset($_SERVER['SERVER_SOFTWARE'])) echo $_SERVER['SERVER_SOFTWARE']; else echo 'Unable to determine web server software.'; ?></td></tr> |
429 <tr><td style="width: 100px;" class="row1">Server platform:</td><td class="row1"><?php echo $platform; ?></td></tr> |
445 <tr><td style="width: 100px;" class="row1">Server platform:</td><td class="row1"><?php echo $platform; ?></td></tr> |
430 <tr><td style="width: 100px;" class="row2"><a href="http://www.php.net/">PHP</a> version:</td><td class="row2"><?php echo PHP_VERSION; ?></td></tr> |
446 <tr><td style="width: 100px;" class="row2"><a href="http://www.php.net/">PHP</a> version:</td><td class="row2"><?php echo PHP_VERSION; ?></td></tr> |
431 <tr><td style="width: 100px;" class="row1"><a href="http://www.mysql.com/">MySQL</a> version:</td><td class="row1"><?php echo mysql_get_server_info($db->_conn); ?></td></tr> |
447 <?php |
|
448 switch(ENANO_DBLAYER) |
|
449 { |
|
450 case 'MYSQL': |
|
451 ?> |
|
452 <tr><td style="width: 100px;" class="row1"><a href="http://www.mysql.com/">MySQL</a> version:</td><td class="row1"><?php echo mysql_get_server_info($db->_conn); ?></td></tr> |
|
453 <?php |
|
454 break; |
|
455 case 'PGSQL': |
|
456 $pg_serverdata = pg_version($db->_conn); |
|
457 $pg_version = $pg_serverdata['server']; |
|
458 ?> |
|
459 <tr><td style="width: 100px;" class="row1"><a href="http://www.postgresql.org/">PostgreSQL</a> version:</td><td class="row1"><?php echo $pg_version; ?></td></tr> |
|
460 <?php |
|
461 break; |
|
462 } |
|
463 ?> |
432 </table> |
464 </table> |
433 </div> |
465 </div> |
434 <?php |
466 <?php |
435 $template->footer(); |
467 $template->footer(); |
436 } |
468 } |