Line 1... |
Line 1... |
1 |
<?php |
1 |
<?php |
2 |
if (isset($last)) unset ($last); |
2 |
if (isset($last)) unset ($last); |
3 |
Exec("svnlook youngest /home/MLAB", $last); |
3 |
Exec("svnlook youngest /data/svnData/MLAB", $last); |
4 |
$last=$last[0]; // Poslední revize |
4 |
$last=$last[0]; // Poslední revize |
5 |
?> |
5 |
?> |
6 |
<h1> Commit Log </h1> |
6 |
<h1> Commit Log </h1> |
7 |
<?php |
7 |
<?php |
8 |
if (isset($x)) unset ($x); |
8 |
if (isset($x)) unset ($x); |
Line 31... |
Line 31... |
31 |
<td> <code><?php echo $x; ?></code></td> |
31 |
<td> <code><?php echo $x; ?></code></td> |
32 |
</tr> |
32 |
</tr> |
33 |
</table> |
33 |
</table> |
34 |
<?php |
34 |
<?php |
35 |
if (isset($x)) unset ($x); |
35 |
if (isset($x)) unset ($x); |
36 |
Exec("svn status /home/Apache/MLAB-WWW", $x); |
36 |
Exec("svn status /data/wwwData/cz.mlab.www", $x); |
37 |
$x=preg_replace("/\n/","",$x); // Ukousni konce řádek |
37 |
$x=preg_replace("/\n/","",$x); // Ukousni konce řádek |
38 |
$x=implode("\n",$x); // Slož řádky |
38 |
$x=implode("\n",$x); // Slož řádky |
39 |
if ($x=="") |
39 |
if ($x=="") |
40 |
{ |
40 |
{ |
41 |
$x=" "; |
41 |
$x=" "; |
Line 59... |
Line 59... |
59 |
for($i=1; $i<=5; $i++, $last--) { |
59 |
for($i=1; $i<=5; $i++, $last--) { |
60 |
?> |
60 |
?> |
61 |
<h2> Revision <?php echo $last; ?> </h2> |
61 |
<h2> Revision <?php echo $last; ?> </h2> |
62 |
<?php |
62 |
<?php |
63 |
if (isset($x)) unset ($x); |
63 |
if (isset($x)) unset ($x); |
64 |
Exec("svnlook info /home/MLAB -r $last", $x); |
64 |
Exec("svnlook info /data/svnData/MLAB -r $last", $x); |
65 |
?> |
65 |
?> |
66 |
<table> |
66 |
<table> |
67 |
<tr> |
67 |
<tr> |
68 |
<th> Author </th> |
68 |
<th> Author </th> |
69 |
<td> <?php echo $x[0]; ?> </td> |
69 |
<td> <?php echo $x[0]; ?> </td> |
Line 77... |
Line 77... |
77 |
<td> <?php echo $x[3]; ?> </td> |
77 |
<td> <?php echo $x[3]; ?> </td> |
78 |
</tr> |
78 |
</tr> |
79 |
<tr> |
79 |
<tr> |
80 |
<td colspan=2> <code><?php |
80 |
<td colspan=2> <code><?php |
81 |
if (isset($x)) unset($x); |
81 |
if (isset($x)) unset($x); |
82 |
Exec("svnlook changed /home/MLAB -r $last", $x); |
82 |
Exec("svnlook changed /data/svnaData/MLAB -r $last", $x); |
83 |
echo implode("\n", $x); ?></code> </td> |
83 |
echo implode("\n", $x); ?></code> </td> |
84 |
</table> |
84 |
</table> |
85 |
|
85 |
|
86 |
<?php |
86 |
<?php |
87 |
// Konec cyklu |
87 |
// Konec cyklu |