I amtrying to take another application and customise it for my current site.
I need help understandng this script
Line 1 What do the full stops mean. Are we combining 3 variables?
line Navigation (a href.... What does php_self mean, what do the full stops between terms mean ?
The output table headings are 7 of
reference location,. size, conternt, reference, type, lease,
$limit = $offset.', '.$results_per_page;
$navigation = '';
$min = 1;
$max = 0;
while ($min < $property_count) {
if ($min > 1) {
$navigation .= ' | ';
}
$max = $min + $results_per_page - 1;
if ($max > $property_count) {
$max = $property_count;
}
if (($min - 1) == $offset) {
$navigation .= '<b>'.$min.'-'.$max.'</b>';
} else {
$navigation .= '<a href="'.$PHP_SELF.'?reference='.$reference.'&location='.$location.'&size='.$size.'&offset='.($min - 1).'">'.$min.'-'.$max.'</a>';
}
$min = $max + 1;
}
if ($all) {
$properties = f_warehouse::get_all_ids('reference', 'ASC', $limit);
} else {
$properties = f_warehouse::search($reference, $location, $size, $limit);
}
if ($property_count > 0) {
?>
<p>Following are the <b><?= $property_count ?></b> results of your search. <br>
For more information select the "Send details" checkbox
of each site you're interested in, and hit the "Submit"
button. </p>
<form name="form1" method="post" action="order.php">
<div align="center">
<?
echo $navigation.'<p>';
foreach ($properties as $property_id) {
$property = new f_warehouse($property_id);
$property_type = $property->get_warehouse_type();
?>
<table width="90%" border="0" cellspacing="1" bgcolor="#000000" cellpadding="2">
<tr valign="top" bgcolor="#355B70">
<td width="10%"><b><font color="#FFFFFF">Property<br>
reference</font></b></td>
<td width="15%">
<p><font color="#FFFFFF"><b>Location</b></font></p>
</td>
<td width="10%"><b><font color="#FFFFFF">Footage</font></b></td>
<td width="40%"><b><font color="#FFFFFF">Comments</font></b></td>
<td width="5%"><b><font color="#FFFFFF">Send<br>
details </fo