That is exactly what I needed! And it's even more flexible!
Thanks
David
<table>
<tr>
<td rowspan="2">
<img ... />
</td>
<td>
<?php
if ($_SERVER['REMOTE_ADDR'] == "{internal ip address}")
{
print '<a href="{internal link}">Order Entry</a>';
}
else
{
print '<a href="{external link}" target="_blank">Remote Order Entry</a>';
}
?>
</td>
</tr>
<tr>
<td>
<a href="{another link}" target="_blank">Webmail</a>
</td>
</tr>
</table>
Dave_L wrote:
$pw = md5(uniqid(mt_rand(), true));
Salsero wrote:
I generated passwords for all of them and asked the people to modify it.
Salsero wrote:
I've tried, but it seems like they are not registered, i.e. they can log in to change their profile (e.g. password)
Fatal error: Call to undefined function: themefooter() in /homepages/37/d108553775/htdocs/home/footer.php on line 41
Warning [PHP]: main(/homepages/37/d108553775/htdocs/home/modules/home/include/read_configs.php): failed to open stream: No such file or directory in file header.php line 27
Warning [PHP]: main(): Failed opening '/homepages/37/d108553775/htdocs/home/modules/home/include/read_configs.php' for inclusion (include_path='.:/usr/local/lib/php') in file header.php line 27
Warning [PHP]: main(/homepages/37/d108553775/htdocs/home/modules/home/include/get_perms.php): failed to open stream: No such file or directory in file header.php line 28
Warning [PHP]: main(): Failed opening '/homepages/37/d108553775/htdocs/home/modules/home/include/get_perms.php' for inclusion (include_path='.:/usr/local/lib/php') in file header.php line 28
Warning [PHP]: main(/homepages/37/d108553775/htdocs/home/modules/home/include/functions.php): failed to open stream: No such file or directory in file header.php line 29
Warning [PHP]: main(): Failed opening '/homepages/37/d108553775/htdocs/home/modules/home/include/functions.php' for inclusion (include_path='.:/usr/local/lib/php') in file header.php line 29
Warning [PHP]: main(/homepages/37/d108553775/htdocs/home/modules/home/include/draw_functions.php): failed to open stream: No such file or directory in file header.php line 30
Warning [PHP]: main(): Failed opening '/homepages/37/d108553775/htdocs/home/modules/home/include/draw_functions.php' for inclusion (include_path='.:/usr/local/lib/php') in file header.php line 30
Notice [PHP]: Undefined index: theme_use_smarty in file footer.php line 31
Notice [PHP]: Undefined variable: xoopsConfigMetaFooter in file footer.php line 33