I cannot understand how can hide link in status bar to guest, my php codes below:
and i have found a method, the method working html fine. but how can i apply the method my above php code or how it worked? the method below:
/file column
echo '<td width="75%" class="default_td" align="left" valign="top"><a class="default_a" href="', $this_file;
$npart = $dir . $value;
if (preg_match('/\|$/', $value)) //it is a link, not an actual file
{
$value = substr($value, 0, -1);
$npart = substr($npart, 0, -1);
$display = get_stored_info($value, $dir.$links_file);
if ($display == '')
{
$display = $value;
}
echo 'dir=', translate_uri($subdir), '&link=',
translate_uri($value), '" title="Click here to Download ', $filename, '">',
icon(ext($display)), htmlentities($display), '</a>';
}
echo '<td width="75%" class="default_td" align="left" valign="top"><a class="default_a" href="', $this_file;
$npart = $dir . $value;
if (preg_match('/\|$/', $value)) //it is a link, not an actual file
{
$value = substr($value, 0, -1);
$npart = substr($npart, 0, -1);
$display = get_stored_info($value, $dir.$links_file);
if ($display == '')
{
$display = $value;
}
echo 'dir=', translate_uri($subdir), '&link=',
translate_uri($value), '" title="Click here to Download ', $filename, '">',
icon(ext($display)), htmlentities($display), '</a>';
}
and i have found a method, the method working html fine. but how can i apply the method my above php code or how it worked? the method below:
<a style="cursor: pointer" onclick="javascript: window.location = 'http://www.mydomain.com/';">Go To SO</a>
Comment