Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 589 lines (525 sloc) 24.611 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589
<?php

// Page created by Shepard [Fabian Pijcke] <Shepard8@laposte.net>
// Arno Esterhuizen <arno.esterhuizen@gmail.com>
// and Romain Bourdon <romain@anaska.com>
//
// icones by Mark James <http://www.famfamfam.com/lab/icons/silk/>
//
// Modified from WampServer project by Laurent Destailleur (NLTechno)
// for DoliWamp project.



//chemin jusqu'aux fichiers alias
$aliasDir = '../alias/';
$appDir = '../apps/';



// we set version of applications
$phpVersion = 'WAMPPHPVERSION';
if ($phpVersion != phpversion()) $phpVersion .= ' ('.phpversion().')';
$apacheVersion = 'WAMPAPACHEVERSION';
if ($apacheVersion != $_SERVER["SERVER_SOFTWARE"]) $apacheVersion .= ' ('.$_SERVER["SERVER_SOFTWARE"].')';
$mysqlVersion = 'WAMPMYSQLVERSION';
$apachePort = 'WAMPAPACHEPORT';


// directories to ignore in project list
$projectsListIgnore = array ('.','..');


// texts
$langues = array(
'en' => array(
'langue' => 'English',
'autreLangue1' => 'Español',
'autreLangueLien1' => 'es',
'autreLangue2' => 'Fran&ccedil;ais',
'autreLangueLien2' => 'fr',
'titreHtml' => 'DoliWamp Homepage',
'titreConf' => 'Server Configuration',
'versa' => 'Apache Version :',
'versp' => 'PHP Version :',
'versm' => 'MySQL Version :',
'phpExt' => 'Loaded Extensions : ',
'titrePage' => 'Tools',
'txtAlias' => 'Your aliased softwares',
'txtNoAlias' => 'No Alias found.',
'txtProjet' => 'Your Softwares',
'txtNoProjet' => 'No other softwares. To create a new one, just create a directory in \'www\'.',
'txtApp' => 'Applications',
'FromLocalNetwork' => 'URL for local access',
'FromInternet' => 'URL for Intranet or Internet',
'NotAvailable' => 'Not available',
'faq' => 'http://www.en.wampserver.com/faq.php',
'ipserver' => 'Name/IP Server:',
'askhelp' => 'Dolibarr Help center'
),
'fr' => array(
'langue' => 'Français',
'autreLangue1' => 'Espa&ntilde;ol',
'autreLangueLien1' => 'es',
'autreLangue2' => 'English',
'autreLangueLien2' => 'en',
'titreHtml' => 'Accueil DoliWamp',
'titreConf' => 'Configuration Serveur',
'versa' => 'Version de Apache:',
'versp' => 'Version de PHP:',
'versm' => 'Version de MySQL:',
'phpExt' => 'Extensions Charg&eacute;es: ',
'titrePage' => 'Outils',
'txtAlias' => 'Alias d\'applications',
'txtNoAlias' => 'Aucun alias.',
'txtProjet' => 'Autres applications (sans alias)',
'txtNoProjet' => 'Pas d\'autre application. Pour en ajouter une nouvelle, cr&eacute;ez simplement un r&eacute;pertoire dans \'www\'.',
'txtApp' => 'Applications',
'FromLocalNetwork' => 'URL accès local',
'FromInternet' => 'URL accès par Intranet ou Internet',
'NotAvailable' => 'Non disponible',
'faq' => 'http://www.wampserver.com/faq.php',
'ipserver' => 'Name/IP Serveur:',
'askhelp' => 'Centre d\'assistance Dolibarr'
),
'es' => array(
'langue' => 'Español',
'autreLangue1' => 'English',
'autreLangueLien1' => 'en',
'autreLangue2' => 'Fran&ccedil;ais',
'autreLangueLien2' => 'fr',
'titreHtml' => 'Inicio DoliWamp',
'titreConf' => 'Configuraci&oacute;n Servidor',
'versa' => 'Versi&oacute;n de Apache:',
'versp' => 'Versi&oacute;n de PHP:',
'versm' => 'Versi&oacute;n de MySQL:',
'phpExt' => 'Extensiones Cargadas: ',
'titrePage' => 'Utilidades',
'txtAlias' => 'Alias de aplicaciones',
'txtNoAlias' => 'Ning&uacute;n alias.',
'txtProjet' => 'Otras aplicaciones (sin alias)',
'txtNoProjet' => 'Ninguna otra aplicaci&oacute;n. Para a&ntilde;adir una nueva, simplemente cree una carpeta en \'www\'.',
'txtApp' => 'Aplicaciones',
'FromLocalNetwork' => 'URL para local access',
'FromInternet' => 'URL para Intranet o Internet',
'NotAvailable' => 'Not available',
'faq' => 'http://www.wampserver.com/faq.php',
'ipserver' => 'Nombre/IP Servidor',
'askhelp' => 'Pedir ayuda o soporte'
)
);



// images
$pngFolder = <<< EOFILE
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAABhlBMVEX//v7//v3///7//fr//fj+/v3//fb+/fT+/Pf//PX+/Pb+/PP+/PL+/PH+/PD+++/+++7++u/9+vL9+vH79+r79+n79uj89tj89Nf889D88sj78sz78sr58N3u7u7u7ev777j67bL67Kv46sHt6uP26cns6d356aP56aD56Jv45pT45pP45ZD45I324av344r344T14J734oT34YD13pD24Hv03af13pP233X025303JL23nX23nHz2pX23Gvn2a7122fz2I3122T12mLz14Xv1JPy1YD12Vz02Fvy1H7v04T011Py03j011b01k7v0n/x0nHz1Ejv0Hnuz3Xx0Gvz00buzofz00Pxz2juz3Hy0TrmznzmzoHy0Djqy2vtymnxzS3xzi/kyG3jyG7wyyXkwJjpwHLiw2Liw2HhwmDdvlXevVPduVThsX7btDrbsj/gq3DbsDzbrT7brDvaqzjapjrbpTraojnboTrbmzrbmjrbl0Tbljrakz3ajzzZjTfZijLZiTJdVmhqAAAAgnRSTlP///////////////////////////////////////8A////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9XzUpQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB90RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgOLVo0ngAAACqSURBVBiVY5BDAwxECGRlpgNBtpoKCMjLM8jnsYKASFJycnJ0tD1QRT6HromhHj8YMOcABYqEzc3d4uO9vIKCIkULgQIlYq5haao8YMBUDBQoZWIBAnFtAwsHD4kyoEA5l5SCkqa+qZ27X7hkBVCgUkhRXcvI2sk3MCpRugooUCOooWNs4+wdGpuQIlMDFKiWNbO0dXTx9AwIC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o/h+X3gXG4YmteA0ACCCsLghPbPkfm9b5PzK5439Sdg9eAwACCEyANMBwaFwTGIMMAOEQIBuGA6Mb/qMbABBAEAOQnIyMo1M74Tgiqf2/b3gVhgEAAQQmQuKa/8ekdYMxyLCgmEYMHJXc9t87FNMAgACCGgBxIkgzyDaQU5FxQGQN2AUBUXX/vULKwdgjsOQ/SC9AAKEEYlB03f+oFJABdSjYP6L6P0guIqkVjt0DisEGAAQQigEgG0AhHxBVi4L9wqvBBiEHtqs/xACAAAIbEBBd/x+Eg2ObwH4FORmGfYCaQRikCUS7B5YBNReBMUgvQABBDADaAtIIwsEx9f/Dk9pQsH9kHTh8XANKMAIRIIDAhF9ELTiQQH4FaQAZCAsskPNhyRpkK7oBAAEEMSC8GsVGkEaYIlBghcU3gbGzL6YBAAEEJnzCgP6EYs/gcjCGKQI5G4Z9QiswDAAIIAZKszNAgAEAHgFgGSNMTwgAAAAASUVORK5CYII=
EOFILE;
$pngWrench = <<< EOFILE
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAABO1BMVEXu7u7n5+fk5OTi4uLg4ODd3d3X19fV1dXU1NTS0tLPz8+7z+/MzMy6zu65ze65zu7Kysq3zO62zO3IyMjHx8e1yOiyyO2yyOzFxcXExMSyxue0xuexxefDw8OtxeuwxOXCwsLBwcGuxOWsw+q/v7+qweqqwuqrwuq+vr6nv+qmv+m7u7ukvumkvemivOi5ubm4uLicuOebuOeat+e0tLSYtuabtuaatuaXteaZteaatN6Xs+aVs+WTsuaTsuWRsOSrq6uLreKoqKinp6elpaWLqNijo6OFpt2CpNyAo92BotyAo9+dnZ18oNqbm5t4nt57nth7ntp4nt15ndp3nd6ZmZmYmJhym956mtJzm96WlpaVlZVwmNyTk5Nvl9lultuSkpKNjY2Li4uKioqIiIiHh4eGhoZQgtVKfNFdha6iAAAAaXRSTlMA//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////914ivwAAAACX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AAAAAAAAAABOt9ezr6+vr66NbB67t9Ovr6+vro5sTAAAAAAAAAAAAB670
6+vr6+vro1sHru3s66urq6ujmxMAAAAAAAAAAAAHrezrq6urq6ujWgCu7eyro6Ojo6NaEwAAAAAA
AAAAAAfsq6ujo6Ojq6NaAK6t7Kujo6Ojo1oTAAAAAAAAAAAAB6Ojo6Ojo6Ojo5sArq3so6Ojo6Oj
WhMAAAAAAAAAAAijo6Ojo6Ojo6OirQCureyjo6Ojo6JaEwAAAAAAAAetWpqjo6Ojo6Ojo5r/AK6t
rKOioqKiolpbZGRkZFxSUlqaoqKioqKioqOiowAArq2so6KioqKimlpaWlpaWpqaoqKioqKioqKj
o6L2AACurayjoqKioqKioqKioqKioqKioqKioqKioqOipAgAAK6trKOioqKioqKioqKioqKioqKi
oqKioqKjo6P/AAAArq2so6KioqKioqKioqKioqKioqKioqKjo6OjEwcAAACurayjoqKioqKioqKi
oqKioqKioqKjo6ysrLYHAAAAAK6trKOioqKioqKioqKioqKioqOjrKzs7K2uBwAAAAAArq317Kys
rKysrKysrKysrKzs7fX19a2tEwcAAAAAAACu9v/29vb29vb29vb29vb29vatraWlrgcIAAAAAAAA
AAClpaWlpaWlpaWlpaWlpaVcXGWuEwcIAAAAAAAAAAAAgBAH/wAQAf8AAAB/AAAAPwAAAB8AAAAP
AAAABwAAAAcAAAADAAAAAwAQAAEAHwABAB/AAQAf4AEAH/ABAB/wAAAf8AAAH/ABAB/wAQAf8AEA
H+ABAB+AAQAAAAMAAAADAAAAAwAAAAcAAAAHAAAADwAAAB8AAAA/AAAAf4AAAf8=
EOFILE;



// Ask help
if (isset($_GET['askhelp']))
{
print "Sorry, feature not yet available";
exit();
}


// Show PHPInfo
if (isset($_GET['phpinfo']))
{
phpinfo();
exit();
}


//affichage des images
if (isset($_GET['img']))
{
    switch ($_GET['img'])
    {
        case 'pngFolder' :
        header("Content-type: image/png");
        echo base64_decode($pngFolder);
        exit();
        
        case 'pngFolderGo' :
        header("Content-type: image/png");
        echo base64_decode($pngFolderGo);
        exit();
        
        case 'pngLogo' :
        header("Content-type: image/png");
        echo base64_decode($pngLogo);
        exit();
        
        case 'pngPlugin' :
        header("Content-type: image/png");
        echo base64_decode($pngPlugin);
        exit();
        
        case 'pngWrench' :
        header("Content-type: image/png");
        echo base64_decode($pngWrench);
        exit();
        
        case 'favicon' :
        header("Content-type: image/x-icon");
        echo base64_decode($favicon);
        exit();
    }
}



// Definition de la langue et des textes

if (isset ($_GET['lang']))
{
$langue = $_GET['lang'];
}
elseif (preg_match("/^fr/", $_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
$langue = 'fr';
}
elseif (preg_match("/^es/", $_SERVER['HTTP_ACCEPT_LANGUAGE']))
{
$langue = 'es';
}
else
{
$langue = 'en';
}


// Read PHP extensions
$loaded_extensions = get_loaded_extensions();
foreach ($loaded_extensions as $extension)
$phpExtContents .= "<li>${extension}</li>";



// Read alias directory
$listoffile=array();
$aliasarray=array();
if (is_dir($aliasDir))
{
    $handle=opendir($aliasDir);
    if (is_resource($handle))
    {
        while ($file = readdir($handle))
        {
     $listoffiles[]=$file;
     }
    }
sort($listoffiles);

foreach($listoffiles as $file)
{
if (is_file($aliasDir.$file) && preg_match('/\.conf/',$file))
{
$msg = '';

$aliasContents.='<tr><td><ul class="aliases">';

$aliasContents .= '<li><a target="_blank" href="'.preg_replace('/\.conf/','',$file).'/">';
$file = preg_replace('/\.conf/','',$file);
if (preg_match('/dolibarr/i',$file)) $aliasContents .= $file.'</a></li></ul></td><td>http://localhost'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/</td><td>http://<i>ipofyourserver</i>'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/</td></tr>';
elseif (preg_match('/phpmyadmin/i',$file)) $aliasContents .= $file.'</a></li></ul></td><td>http://localhost'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/</td><td>'.$langues[$langue]['NotAvailable'].'</td></tr>';
else $aliasContents .= $file.'</a></li></ul></td> <td> </td><td>'.$langues[$langue]['NotAvailable'].'</td></tr>';

$aliasarray[]=$file;
}
    }
    closedir($handle);
}
if (!isset($aliasContents))
$aliasContents = '<tr><td colspan="3">'.$langues[$langue]['txtNoAlias'].'</td></tr>';


// Read projects in www dir
$listoffiles=array();
$handle=opendir(".");
if (is_resource($handle))
{
    while ($file = readdir($handle))
    {
     $listoffiles[]=$file;
    }
    closedir($handle);
}

foreach($listoffiles as $file)
{
if (is_dir($file) && !in_array($file,$projectsListIgnore) && !in_array($file,$aliasarray))
{
$projectContents .= '<tr><td><ul class="projects">';

$projectContents .= '<li><a href="'.$file.'/">';
$projectContents .= $file.'</a>';
$projectContents .= '</li>';

$projectContents .= '</ul></td><td>http://localhost'.($apachePort != 80?':'.$apachePort:'').'/'.$file.'/)'.'</td><td>'.$langues[$langue]['NotAvailable'].'</td></tr>';
}
}

if (!isset($projectContents))
$projectContents = '<tr><td colspan="3">'.$langues[$langue]['txtNoProjet'].'</td></tr>';



$nameServer=getenv("COMPUTERNAME");
$ipServer=$nameServer;



$pageContents = <<< EOPAGE
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html lang="$langue" xml:lang="$langue">
<head>
<title>{$langues[$langue]['titreHtml']}</title>
<meta http-equiv="Content-Type" content="txt/html; charset=utf-8" />

<style type="text/css">
* {
margin: 0;
padding: 0;
}

html {
background: #ddd;
}
body {
margin: 1em 10%;
padding: 1em 3em;
font: 80%/1.4 tahoma, arial, helvetica, lucida sans, sans-serif;
border: 1px solid #999;
background: #eee;
position: relative;
}
#head {
margin-bottom: 1.8em;
margin-top: 1.8em;
padding-bottom: 0em;
border-bottom: 1px solid #999;
letter-spacing: -500em;
text-indent: -500em;
height: 0px;
}
.utility {
right: 4em;
top: 20px;
font-size: 0.85em;
}
.utility li {
display: inline;
}

h2 {
margin: 18px 0 4px 0;
}

ul {
list-style: none;
margin: 0;
padding: 0;
}
#head ul li, dl ul li {
list-style: none;
display: inline;
margin: 0;
padding: 0 0.2em;
}
ul.aliases, ul.projects, ul.tools {
list-style: none;
line-height: 24px;
}
ul.aliases a, ul.projects a, ul.tools a {
padding-left: 22px;
background: url(index.php?img=pngFolder) 0 100% no-repeat;
}
ul.tools a {
background: url(index.php?img=pngWrench) 0 100% no-repeat;
}
ul.aliases a {
background: url(index.php?img=pngFolderGo) 0 100% no-repeat;
}
dl {
margin: 0;
padding: 0;
}
dt {
font-weight: bold;
text-align: right;
width: 11em;
clear: both;
}
dd {
margin: -1.35em 0 0 12em;
padding-bottom: 0.4em;
overflow: auto;
}
dd ul li {
float: left;
display: block;
width: 16.5%;
margin: 0;
padding: 0 0 0 20px;
background: url(index.php?img=pngPlugin) 2px 50% no-repeat;
line-height: 1.6;
}
a {
color: #024378;
font-weight: bold;
text-decoration: none;
}
a:hover {
color: #04569A;
text-decoration: underline;
}
#foot {
text-align: center;
margin-top: 1.8em;
border-top: 1px solid #999;
padding-top: 1em;
font-size: 0.85em;
}
</style>
    
<link rel="shortcut icon" href="index.php?img=favicon" type="image/ico" />
</head>

<body>
<table width="100%"><tr><td align="left">
<img src="index.php?img=pngLogo">
</td>
<td align="right">
<ul class="utility">
<li>${wampserverVersion}</li>
<li><a href="?lang={$langues[$langue]['autreLangueLien1']}">{$langues[$langue]['autreLangue1']}</a>
- <a href="?lang={$langues[$langue]['autreLangueLien2']}">{$langues[$langue]['autreLangue2']}</a></li>
<br><br>
<li>Provided by <a href="http://www.nltechno.com" targer="_blank">NLTechno</a></li>
</ul>
</td></tr></table>
<hr>
<h2> {$langues[$langue]['titreConf']} </h2>

<dl class="content">
<dt>{$langues[$langue]['versa']}</dt>
<dd>${apacheVersion} &nbsp;</dd>
<dt>{$langues[$langue]['versp']}</dt>
<dd>${phpVersion} &nbsp;</dd>
<dt>{$langues[$langue]['phpExt']}</dt>
<dd>
<ul>
${phpExtContents}
</ul>
</dd>
<dt>{$langues[$langue]['versm']}</dt>
<dd>${mysqlVersion} &nbsp;</dd>
<dt>{$langues[$langue]['ipserver']}</dt>
<dd>${ipServer} &nbsp;</dd>
</dl>

<h2>{$langues[$langue]['txtApp']}</h2>
<table width="100%" style="padding: 0px 0px 0px 0px;">
<tr valign="middle"><td>
{$langues[$langue]['txtApp']}
</td><td valign="middle">
{$langues[$langue]['FromLocalNetwork']}
</td><td valign="middle">
{$langues[$langue]['FromInternet']}
</td></tr>
${aliasContents}
${projectContents}
</table>

<h2>{$langues[$langue]['titrePage']}</h2>
<ul class="tools">
<li><a target="_blank" href="index.php?phpinfo=1">Phpinfo</a></li>
<li><a target="_blank" href="server-status">Server-status</a></li>
<li><a target="_blank" href="/dolibarr/support/index.php">{$langues[$langue]['askhelp']}</a></li>
</ul>


<ul id="foot">
<li><a href="http://www.nltechno.com/pages/dolibarrwinbin.php">DoliWamp project</a> was built from modified sources of <a href="http://www.wampserver.com">WampServer project</a> from Anaska</li>
</ul>
</body>
</html>
EOPAGE;

echo $pageContents;
?>
Something went wrong with that request. Please try again.