Author Topic: Please check this code out  (Read 265 times)

0 Members and 1 Guest are viewing this topic.

Offline jossylalaTopic starter

  • Irregular
  • Posts: 13
    • View Profile
Please check this code out
« on: March 12, 2010, 02:05:28 AM »
Here is the code
	
	
	
	
<
td width="3%"><span class="headerLinkColor">&raquo;</span></td>
	
	
	
	
<
td align="left">
	
	
	
	
<
a target="leftFrame" href="<?=ADMIN_FOLDERS_PATH?><?=$folder_name?>/?sid=<?=$sid?>" class="headerLinkColor">
	
	
	
	
<?=
$cat_name?></a>
	
	
	
	
</td>
	
	
	

	
	
	
</tr></table>
	
	
	

	
	
<?PHP   if( $flag  == 4){
	
	
	
	
echo 
"</td>";
	
	
	
	
$flag=1;
	
	
	
}else{
	
	
	
	
$flag++;
	
	
	
}
	
	

	
	
 }
// for loop ?></tr>
	
	
</table>
	
	
	
	
 
	
	
</td>


And am getting links like this

http://admin/credit_mgmt/?sid=532bb180e67ea7234d73502205321bfe


i need the link to be site url/admin/credit_mgmt/?sid=532bb180e67ea7234d73502205321bfe

any help? thanks

Offline cs.punk

  • Enthusiast
  • Posts: 406
  • Gender: Male
  • Uhm er well...
    • View Profile
Re: Please check this code out
« Reply #1 on: March 12, 2010, 02:16:46 AM »
Here is the code
	
	
	
	
<
td width="3%"><span class="headerLinkColor">&raquo;</span></td>
	
	
	
	
<
td align="left">
	
	
	
	
<
a target="leftFrame" href="<?=ADMIN_FOLDERS_PATH?><?=$folder_name?>/?sid=<?=$sid?>" class="headerLinkColor">
	
	
	
	
<?=
$cat_name?></a>
	
	
	
	
</td>
	
	
	

	
	
	
</tr></table>
	
	
	

	
	
<?PHP   if( $flag  == 4){
	
	
	
	
echo 
"</td>";
	
	
	
	
$flag=1;
	
	
	
}else{
	
	
	
	
$flag++;
	
	
	
}
	
	

	
	
 }
// for loop ?></tr>
	
	
</table>
	
	
	
	
 
	
	
</td>


And am getting links like this

http://admin/credit_mgmt/?sid=532bb180e67ea7234d73502205321bfe


i need the link to be site url/admin/credit_mgmt/?sid=532bb180e67ea7234d73502205321bfe

any help? thanks

Where is ADMIN_FOLDERS_PATH coming from? Or what is it set as?
Life isn't just simply being alive... Or is it?

Offline jossylalaTopic starter

  • Irregular
  • Posts: 13
    • View Profile
Re: Please check this code out
« Reply #2 on: March 14, 2010, 09:15:24 PM »
The admin folder path suppose to locate folder found in www.site.com/admin . is that language outdated? if yes what should i use instaed of that?