<div>
- <img src="../images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
+ <img src="/images/spacer.gif" alt="spacer" width="1px" height="50px"><br>
<?
if($_SESSION['user'] == "bukdebug")
print_r($_SERVER);
Bacula, das Netzwerk-Backup-Programm für Linux, Unix, Mac und Windows.
</td>
<td style="text-align: left; vertical-align: middle">
- <img alt="Deutsch" src="../images/german-flag.jpg">
+ <img alt="Deutsch" src="/images/german-flag.jpg">
<a href='/en'>
- <img alt="English" src="../images/english-flag.jpg">
+ <img alt="English" src="/images/english-flag.jpg">
</a>
<a href='/fr'>
- <img alt="Français" src="../images/french-flag.jpg">
+ <img alt="Français" src="/images/french-flag.jpg">
</a>
</td>
<FORM method=GET target="_blank" action=http://www.google.de/search>
<table class="pageLogo">
<tr>
<td style="text-align: left; vertical-align: middle">
- <img alt="Bacula Logo" src="../images/bacu_logo-red.jpg">
+ <img alt="Bacula Logo" src="/images/bacu_logo-red.jpg">
</td>
</tr>
</table>
<div class="menuHead">
<div class="icons">
- <a href="http://www.ukfast.net"><img src="../images/bacula_ukfast_logo.gif" alt="www.ukfast.net"></a>
+ <a href="http://www.ukfast.net"><img src="/images/bacula_ukfast_logo.gif" alt="www.ukfast.net"></a>
<!-- a href="http://www.sectoor.de"><img src="http://www.sectoor.de/grafiken/button_klein2.png" alt="Sectoor Logo"></a -->
- <!-- a href="http://validator.w3.org/check?uri=referer"><img src="../images/valid-xhtml10.png" alt="valix w3c logo"></a -->
- <!-- a href="http://jigsaw.w3.org/css-validator/validator?uri=<? echo $_SERVER['HTTP_REFERER']; ?>"><img src="../images/vcss.png" alt="valid css logo"></a-->
+ <!-- a href="http://validator.w3.org/check?uri=referer"><img src="/images/valid-xhtml10.png" alt="valix w3c logo"></a -->
+ <!-- a href="http://jigsaw.w3.org/css-validator/validator?uri=<? echo $_SERVER['HTTP_REFERER']; ?>"><img src="/images/vcss.png" alt="valid css logo"></a-->
</div>
printf('<tr>');
printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
printf('</tr>');
- printf('<tr><td><img src="../images/spacer.gif" width="1px" height="15px"></td></tr>');
+ printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
$news_counter++;
continue;
}
die Seite
<a href="http://sourceforge.net/project/showfiles.php?group_id=50727">Bacula SourceForge
Downloads</a> (eng.) und klicken auf das kleine Briefsymbol
-<img src="../images/mail16d.png" alt="" width="15" height="15"> unter der Überschrift <b>Monitor</b>
+<img src="/images/mail16d.png" alt="" width="15" height="15"> unter der Überschrift <b>Monitor</b>
in der Zeile, die dem Paket entspricht über das Sie sich bei Änderungen informieren lassen wollen.
</p>
printf('<tr>');
printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
printf('</tr>');
- printf('<tr><td><img src="../images/spacer.gif" width="1px" height="15px"></td></tr>');
+ printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
$news_counter++;
continue;
}
<td class="content">
<table align="center">
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Alixen
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@alixen.fr">Gilles Polart-Donat</a><br>
20 rue Jean Rostand<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Arden Group Inc
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:rberryNOSPAM@ardengrp.com">Roger Berry</a><br>
5026 NE Clackamas<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Axiom Networking
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:ajordanNOSPAM@draftathome.com">Angus Jordan</a><br>
9235 215th St, Langley BC, Canada<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Bayer Technology Group
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:jbayerNOSPAM@BayerTechnologyGroup.com"> Jonathan B Bayer</a><br>
Bayer Technology Group, 23 Exeter Rd., East Windsor, NJ 08520 USA<br>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
BSDCan
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:danNOSPAM@langille.org">Dan Langille</a><br>
Suite 474<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
dass IT GmbH
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNSPAM@dass-it.de">dass IT GmbH</a><br>
Händelstraße 25-29<br>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Heitor Faria
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:heitorfariaNOSPAM@hotmail.com">Heitor Faria</a><br>
Consultoria em Software Libre (Brazil)<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
HEXONET Support GmbH
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@hexonet.com">Hexonet</a><br>
Alexander Biehl<br>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Instant Root HB
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@instant-root.com">Info-Mail</a><br>
Box 1823 <br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
IT-Service Lehmann
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@its-lehmann.de">Arno Lehmann</a><br>
Sandstr. 6<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
KDB Konsult AB
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:matsNOSPAM@kdb.se">Mats Vilhelmsson</a><br>
Tel: +46 708 901042<br>
<a href="http://www.kdb.se">http://www.kdb.se</a><br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
L. Strappazon
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:l.strappazonNOSPAM@free.fre">Ludovic Strappazon</a><br>
Strasbourg, France<br>
Planning and scaling of your hardware installation, Bacula implementation.
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
MATRIX-Computer
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
MATRIX-Computer GmbH<br>
Dachauer Str. 44<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
NETWAYS GmbH
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@netways.de">NETWAYS GmbH</a><br>
Deutschherrnstrasse 47a<br>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
raptus ag
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@raptus.com">raptus ag</a><br>
moderne kommunikation<br>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Sine Nomine Associates
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@sinenomine.net">Services Sales Dept.</a><br>
US:<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Thinxsolutions
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@thinxsolutions.com">
Müller, Bender, Guth GbR</a><br>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
WinFix.IT
</td>
- <td><img src="../images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:JoNOSPAM@WinFix.IT">Jo at WinFix.IT</a><br>
<br>
<a href="http://www.WinFix.IT">http://www.WinFix.IT</a><br>
</td>
</tr>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="../images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
</table>
<? require_once("inc/header.php"); ?>
<?
-$dat_dir = '../testimonials';
+$dat_dir = '/testimonials';
$org_type_lst = array(
'0' => "SELECT ONE",
$filename = get_file_from_id();
if (!$filename) {
- return (0);
+ return (0);
}
$formul = load_formul($filename);
}
} elseif ($_REQUEST['btnSubmit'] == 'View') {
-
- $file = get_file_from_id();
+
+ $file = get_file_from_id();
- if ($file) {
- print_formul_file($filename,true);
- }
+ if ($file) {
+ print_formul_file($filename,true);
+ }
} elseif ($_REQUEST['btnSubmit'] == 'Delete') {
- $filename = get_file_from_id();
+ $filename = get_file_from_id();
- if (!$filename) {
- return (0);
- }
+ if (!$filename) {
+ return (0);
+ }
$form = load_formul($filename);
} elseif ($_REQUEST['btnSubmit'] == 'Accept' && is_admin()) {
- $filename = get_file_from_id();
+ $filename = get_file_from_id();
- if (!$filename) {
- return (0);
- }
+ if (!$filename) {
+ return (0);
+ }
$form = load_formul($filename);
- $hide = $_REQUEST['hide'];
+ $hide = $_REQUEST['hide'];
if ($hide) {
$form['visible']=0;
} else {
- $form['visible']=1;
- }
+ $form['visible']=1;
+ }
save_formul($form);
echo $form['id'] . " is now " . ($hide?"un":"") . "visible";
print_formul($form);
} elseif ($_REQUEST['btnSubmit'] == 'Save') {
-
- $filename = get_file_from_id();
+
+ $filename = get_file_from_id();
- if (!$filename) {
- return (0);
- }
+ if (!$filename) {
+ return (0);
+ }
$form = get_formul();
while (false !== ($file = readdir($handle))) {
if (preg_match("/profile.[a-z0-9\.]+/", $file)) {
$form = load_formul("$dat_dir/$file") ;
- // on affiche ceux qui sont en attente ou bien tous
- if (!$waiting || !$form['visible']) {
- print_formul($form);
- if ($form['visible']) {
- print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
- } else {
- print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
- }
- print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
- print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
-
- }
+ // on affiche ceux qui sont en attente ou bien tous
+ if (!$waiting || !$form['visible']) {
+ print_formul($form);
+ if ($form['visible']) {
+ print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
+ } else {
+ print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
+ }
+ print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
+ print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
+
+ }
}
}
closedir($handle);
}
$form = load_formul($file);
if ($form) {
- export_form($form);
+ export_form($form);
}
} else {
- print "Invalid btnSubmit<br>";
+ print "Invalid btnSubmit<br>";
}
function export_form($formul)
global $country_lst, $org_type_lst, $org_industry_lst, $os_lst, $catalog_lst;
$attribs = array('contact_name','email_address', 'org_name','title','website',
- 'hardware_comments','comments',
- 'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
- 'date','visible', 'support',
- 'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
- print "<pre>\n";
+ 'hardware_comments','comments',
+ 'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
+ 'date','visible', 'support',
+ 'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
+ print "<pre>\n";
foreach ($attribs as $arr) {
- print "$arr = " . $formul[$arr] . "\n";
+ print "$arr = " . $formul[$arr] . "\n";
}
- print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
- print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
- print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
- print "country = " . $country_lst[$formul['country_id']] . "\n";
- print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
- print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
+ print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
+ print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
+ print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
+ print "country = " . $country_lst[$formul['country_id']] . "\n";
+ print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
+ print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
- print "<pre>\n";
+ print "<pre>\n";
}
function get_file_from_id()
return 0;
}
} else {
- print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
- }
+ print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
+ }
- return print_formul($formul);
+ return print_formul($formul);
}
function print_formul($formul)
<ul>
<li> <a href="rel-manual/index.html" >HTML User's Manual</a>
<br>(released version of the User's Manual)<br></li>
- <li> <a href="<? echo $spath ?>/rel-bacula.pdf">PDF User's Manual</a>
+ <li> <a href="rel-bacula.pdf">PDF User's Manual</a>
<br>(released version of the User's Manual)<br></li>
</ul>
</td>
<ul>
<li> <a href="dev-manual/index.html" >HTML Development Manual</a>
<br>(User's manual for code under development)<br></li>
- <li> <a href="<? echo $spath ?>/bacula.pdf">PDF Development Manual</a>
+ <li> <a href="/bacula.pdf">PDF Development Manual</a>
<br>(User's Manual for code under development)</li>
</ul>
</td>
<ul>
<li><a href="developers/index.html">HTML Developer's Guide</a>
<br>(Guide for Bacula developers)</li>
- <li> <a href="<? echo $spath ?>/developers.pdf">PDF Developer's Guide</a>
+ <li> <a href="developers.pdf">PDF Developer's Guide</a>
<br>(Guide for Bacula developers)</li>
- <li><a href="<? echo $spath ?>/FLA-bacula.en.pdf">PDF FLA</a>
+ <li><a href="FLA-bacula.en.pdf">PDF FLA</a>
<br>(Developer's Fiduciary License Agreement)</li>
</ul>
</td>
<td class="content">
<ul>
<li>New Concepts and Overview Guide
- <a href="<? echo $spath ?>/manuals/en/concepts/concepts.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/concepts/concepts/index.html">/HTML </a>
+ <a href="/manuals/en/concepts/concepts.pdf"> PDF</a>
+ <a href="/manuals/en/concepts/concepts/index.html">/HTML </a>
<br>
<li>New Installation and Configuration Guide
- <a href="<? echo $spath ?>/manuals/en/install/install.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/install/install/index.html">/HTML </a>
+ <a href="/manuals/en/install/install.pdf"> PDF</a>
+ <a href="/manuals/en/install/install/index.html">/HTML </a>
<br>
<li>New Console and Operators Guide
- <a href="<? echo $spath ?>/manuals/en/console/console.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/console/console/index.html">/HTML </a>
+ <a href="/manuals/en/console/console.pdf"> PDF</a>
+ <a href="/manuals/en/console/console/index.html">/HTML </a>
<br>
<li>New Problem Resolution Guide
- <a href="<? echo $spath ?>/manuals/en/problems/problems.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/problems/problems/index.html">/HTML </a>
+ <a href="/manuals/en/problems/problems.pdf"> PDF</a>
+ <a href="/manuals/en/problems/problems/index.html">/HTML </a>
<br>
<li>New Catalog Database Guide
- <a href="<? echo $spath ?>/manuals/en/catalog/catalog.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/catalog/catalog/index.html">/HTML </a>
+ <a href="/manuals/en/catalog/catalog.pdf"> PDF</a>
+ <a href="/manuals/en/catalog/catalog/index.html">/HTML </a>
<br>
<li>New Utility Programs
- <a href="<? echo $spath ?>/manuals/en/utility/utility.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/utility/utility/index.html">/HTML </a>
+ <a href="/manuals/en/utility/utility.pdf"> PDF</a>
+ <a href="/manuals/en/utility/utility/index.html">/HTML </a>
<br>
<li>New Developers' Guide
- <a href="<? echo $spath ?>/manuals/en/developers/developers.pdf"> PDF</a>
- <a href="<? echo $spath ?>/manuals/en/developers/developers/index.html">/HTML </a>
+ <a href="/manuals/en/developers/developers.pdf"> PDF</a>
+ <a href="/manuals/en/developers/developers/index.html">/HTML </a>
</ul>
</td>
</tr>
printf('<tr>');
printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
printf('</tr>');
- printf('<tr><td><img src="images/spacer.gif" width="1px" height="15px"></td></tr>');
+ printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
$news_counter++;
continue;
}
is released on SourceForge. This is accomplished by going to
the <a href="http://sourceforge.net/projects/bacula">Bacula SourceForge
Project</a> page and clicking on the little letter or mail icon
-<img src="images/mail16d.png" alt="" width="15" height="15"> under the heading <b>Monitor</b> in the
+<img src="/images/mail16d.png" alt="" width="15" height="15"> under the heading <b>Monitor</b> in the
row corresponding to the package you want to monitor.
</p>
<table width="100%">
<tr>
- <td class="contentTopic">
- News
- </td>
+ <td class="contentTopic">
+ News
+ </td>
</tr>
</table>
<table width="90%" align="center">
<tr>
- <td class="content">
- <table class="news" style="width: 99%">
+ <td class="content">
+ <table class="news" style="width: 99%">
<?
$max_news = 5;
//
$file = "news.txt";
$lines = array_reverse(file($file)) or
- die("No newsfile!");
+ die("No newsfile!");
// as long as there are lines ...
//
while(count($lines) > 0 && $news_counter < $max_news) {
- // next line
- $line = array_pop($lines);
+ // next line
+ $line = array_pop($lines);
- // start of news
- if(eregi("^[a-z0-9]+;;;", $line)) {
- // news header
- list($author,$date,$time) = explode(";;;",$line);
+ // start of news
+ if(eregi("^[a-z0-9]+;;;", $line)) {
+ // news header
+ list($author,$date,$time) = explode(";;;",$line);
- // news subject
- $subject = array_pop($lines);
- printf('<tr><td class="newsHeader">%s</td></tr>', $subject);
- printf('<tr><td class="newsContent"><pre class="newsContent">');
+ // news subject
+ $subject = array_pop($lines);
+ printf('<tr><td class="newsHeader">%s</td></tr>', $subject);
+ printf('<tr><td class="newsContent"><pre class="newsContent">');
- continue;
- }
+ continue;
+ }
- // end of news
- if(eregi("^;;;", $line)) {
- printf('</pre></td></tr>');
- printf('<tr>');
- printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
- printf('</tr>');
- printf('<tr><td><img src="images/spacer.gif" width="1px" height="15px"></td></tr>');
- $news_counter++;
- continue;
- }
+ // end of news
+ if(eregi("^;;;", $line)) {
+ printf('</pre></td></tr>');
+ printf('<tr>');
+ printf('<td class="newsFooter">%s - %s, %s</td>', $date, $time, $author);
+ printf('</tr>');
+ printf('<tr><td><img src="/images/spacer.gif" width="1px" height="15px"></td></tr>');
+ $news_counter++;
+ continue;
+ }
- // news content
- printf('%s', $line);
+ // news content
+ printf('%s', $line);
}
?>
- </table>
- </td>
+ </table>
+ </td>
</tr>
</table>
<? require_once("inc/header.php"); ?>
<tr>
<td class="content">
<ul>
- <li> <a href="presentations/Bacula-FOSDEM-talk-25Feb07.pdf" >PDF FOSDEM Slide Show</a>
+ <li> <a href="/presentations/Bacula-FOSDEM-talk-25Feb07.pdf" >PDF FOSDEM Slide Show</a>
<br>Slide Show Presented at FOSDEM 2007<br></li>
</ul>
</td>
<h3>Bacula 2.2.0 Press Information</h3>
<ul>
- <li> <a href="about/press/presskit220.html.en" >Press Kit</a></li>
- <li> <a href="/rel-manual/Bacula_Freque_Asked_Questi.html" >Frequently Asked Questions</a></li>
+ <li> <a href="/about/press/presskit220.html.en" >Press Kit</a></li>
+ <li> <a href="rel-manual/Bacula_Freque_Asked_Questi.html" >Frequently Asked Questions</a></li>
</ul>
<h3>Press Kit in Other Languages</h3>
<ul>
- <li> <a href="about/press/presskit220.html.en" >Catalan</a></li>
- <li> <a href="about/press/presskit200.html.fr" >French</a></li>
- <li> <a href="about/press/presskit200.html.de" >German</a></li>
- <li> <a href="about/press/presskit200.html.es" >Spanish</a></li>
+ <li> <a href="/about/press/presskit220.html.en" >Catalan</a></li>
+ <li> <a href="/about/press/presskit200.html.fr" >French</a></li>
+ <li> <a href="/about/press/presskit200.html.de" >German</a></li>
+ <li> <a href="/about/press/presskit200.html.es" >Spanish</a></li>
</ul>
</td>
</tr>
<td class="content">
<table align="center">
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Alixen
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@alixen.fr">Gilles Polart-Donat</a><br>
20 rue Jean Rostand<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Arden Group Inc
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:rberryNOSPAM@ardengrp.com">Roger Berry</a><br>
5026 NE Clackamas<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Axiom Networking
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:ajordanNOSPAM@draftathome.com">Angus Jordan</a><br>
9235 215th St, Langley BC, Canada<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Bayer Technology Group
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:jbayerNOSPAM@BayerTechnologyGroup.com"> Jonathan B Bayer</a><br>
Bayer Technology Group, 23 Exeter Rd., East Windsor, NJ 08520 USA<br>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
BSDCan
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:danNOSPAM@langille.org">Dan Langille</a><br>
Suite 474<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
dass IT GmbH
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNSPAM@dass-it.de">dass IT GmbH</a><br>
Händelstraße 25-29<br>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Heitor Faria
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:heitorfariaNOSPAM@hotmail.com">Heitor Faria</a><br>
Consultoria em Software Libre (Brazil)<br>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
HEXONET Support GmbH
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@hexonet.com">Hexonet</a><br>
Alexander Biehl<br>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Instant Root HB
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@instant-root.com">Info-Mail</a><br>
Box 1823 <br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
IT-Service Lehmann
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@its-lehmann.de">Arno Lehmann</a><br>
Sandstr. 6<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
KDB Konsult AB
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:matsNOSPAM@kdb.se">Mats Vilhelmsson</a><br>
Tel: +46 708 901042<br>
<a href="http://www.kdb.se">http://www.kdb.se</a><br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
L. Strappazon
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:l.strappazonNOSPAM@free.fre">Ludovic Strappazon</a><br>
Strasbourg, France<br>
Planning and scaling of your hardware installation, Bacula implementation.
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
MATRIX-Computer
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
MATRIX-Computer GmbH<br>
Dachauer Str. 44<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
NETWAYS GmbH
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@netways.de">NETWAYS GmbH</a><br>
Deutschherrnstrasse 47a<br>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
raptus ag
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@raptus.com">raptus ag</a><br>
moderne kommunikation<br>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Sine Nomine Associates
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@sinenomine.net">Services Sales Dept.</a><br>
US:<br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
Thinxsolutions
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:infoNOSPAM@thinxsolutions.com">
Müller, Bender, Guth GbR</a><br>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr>
<td style="font-weight: bold">
WinFix.IT
</td>
- <td><img src="images/spacer.gif" width="50px" height="1px"></td>
+ <td><img src="/images/spacer.gif" width="50px" height="1px"></td>
<td>
<a href="mailto:JoNOSPAM@WinFix.IT">Jo at WinFix.IT</a><br>
<br>
<a href="http://www.WinFix.IT">http://www.WinFix.IT</a><br>
</td>
</tr>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
<tr> <td colspan="3"><hr></td>
- <tr> <td colspan="3"><img src="images/spacer.gif" width="50px" height="25px"></td> </tr>
+ <tr> <td colspan="3"><img src="/images/spacer.gif" width="50px" height="25px"></td> </tr>
</table>
<? require_once("inc/header.php"); ?>
<?
-$dat_dir = '../testimonials';
+$dat_dir = '/testimonials';
$org_type_lst = array(
'0' => "SELECT ONE",
$filename = get_file_from_id();
if (!$filename) {
- return (0);
+ return (0);
}
$formul = load_formul($filename);
}
} elseif ($_REQUEST['btnSubmit'] == 'View') {
-
- $file = get_file_from_id();
+
+ $file = get_file_from_id();
- if ($file) {
- print_formul_file($filename,true);
- }
+ if ($file) {
+ print_formul_file($filename,true);
+ }
} elseif ($_REQUEST['btnSubmit'] == 'Delete') {
- $filename = get_file_from_id();
+ $filename = get_file_from_id();
- if (!$filename) {
- return (0);
- }
+ if (!$filename) {
+ return (0);
+ }
$form = load_formul($filename);
} elseif ($_REQUEST['btnSubmit'] == 'Accept' && is_admin()) {
- $filename = get_file_from_id();
+ $filename = get_file_from_id();
- if (!$filename) {
- return (0);
- }
+ if (!$filename) {
+ return (0);
+ }
$form = load_formul($filename);
- $hide = $_REQUEST['hide'];
+ $hide = $_REQUEST['hide'];
if ($hide) {
$form['visible']=0;
} else {
- $form['visible']=1;
- }
+ $form['visible']=1;
+ }
save_formul($form);
echo $form['id'] . " is now " . ($hide?"un":"") . "visible";
print_formul($form);
} elseif ($_REQUEST['btnSubmit'] == 'Save') {
-
- $filename = get_file_from_id();
+
+ $filename = get_file_from_id();
- if (!$filename) {
- return (0);
- }
+ if (!$filename) {
+ return (0);
+ }
$form = get_formul();
while (false !== ($file = readdir($handle))) {
if (preg_match("/profile.[a-z0-9\.]+/", $file)) {
$form = load_formul("$dat_dir/$file") ;
- // on affiche ceux qui sont en attente ou bien tous
- if (!$waiting || !$form['visible']) {
- print_formul($form);
- if ($form['visible']) {
- print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
- } else {
- print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
- }
- print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
- print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
-
- }
+ // on affiche ceux qui sont en attente ou bien tous
+ if (!$waiting || !$form['visible']) {
+ print_formul($form);
+ if ($form['visible']) {
+ print "<a href=\"?page=testimonial&btnSubmit=Accept&hide=1&passwd=" . $pass . "&id=" . $form['id'] . "\"> Hide </a> | \n";
+ } else {
+ print "<a href=\"?page=testimonial&btnSubmit=Accept&passwd=" . $pass . "&id=" . $form['id'] . "\"> Accept </a> | \n";
+ }
+ print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $form['id'] . "\"> Modify </a> | \n";
+ print "<a href=\"?page=testimonial&btnSubmit=AdminExport&passwd=" . $pass . "&id=" . $form['id'] . "\"> Export </a><br><br>\n";
+
+ }
}
}
closedir($handle);
}
$form = load_formul($file);
if ($form) {
- export_form($form);
+ export_form($form);
}
} else {
- print "Invalid btnSubmit<br>";
+ print "Invalid btnSubmit<br>";
}
function export_form($formul)
global $country_lst, $org_type_lst, $org_industry_lst, $os_lst, $catalog_lst;
$attribs = array('contact_name','email_address', 'org_name','title','website',
- 'hardware_comments','comments',
- 'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
- 'date','visible', 'support',
- 'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
- print "<pre>\n";
+ 'hardware_comments','comments',
+ 'publish_contact','publish_email', 'publish_orgname','org_size','redundant_setup',
+ 'date','visible', 'support',
+ 'number_fd','number_sd','month_gb','number_files','publish_orgsize','publish_website');
+ print "<pre>\n";
foreach ($attribs as $arr) {
- print "$arr = " . $formul[$arr] . "\n";
+ print "$arr = " . $formul[$arr] . "\n";
}
- print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
- print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
- print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
- print "country = " . $country_lst[$formul['country_id']] . "\n";
- print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
- print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
+ print "orgtype = " . $org_type_lst[$formul['orgtype_id']] . "\n";
+ print "orgindustry = " . $org_industry_lst[$formul['orgindustry_id']] . "\n";
+ print "bacula_version = " . $version_lst[$formul['bacula_version']] . "\n";
+ print "country = " . $country_lst[$formul['country_id']] . "\n";
+ print "ostype = " . $os_lst[$formul['ostype_id']] . "\n";
+ print "catalog = " . $catalog_lst[$formul['catalog_id']] . "\n";
- print "<pre>\n";
+ print "<pre>\n";
}
function get_file_from_id()
return 0;
}
} else {
- print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
- }
+ print "<a href=\"?page=testimonial&btnSubmit=Modify&id=" . $formul['id'] . "\">Modify</a><br>\n";
+ }
- return print_formul($formul);
+ return print_formul($formul);
}
function print_formul($formul)
<tr>
<td class="content">
<p>
- <img src="images/1.39-wishlist-votes.png">
+ <img src="/images/1.39-wishlist-votes.png">
</td>
</tr>
</table>