954,160 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Open In New Window Php

<?php if (count($displayError)>0) { foreach($displayError AS $error) { echo "$error
"; } echo "
"; } ?> <?php $baseDirname = $snifServer.htmlentities(dirname($_SERVER["PHP_SELF"])); $pathToSnif = explode("/",$baseDirname); echo "http://".join("/",array_slice($pathToSnif, 0, -1))."/"; echo "".join("/",array_slice($pathToSnif, -1)).""; $pathArr = explode("/",$path); for ($i=0; $i".htmlentities($pathArr[$i]).""; } ?>
<?php echo $descriptions["."];?> <?php if ($pagingInEffect) { ?> <?php echo getPagingHeader(); ?> <?php } ?> <?php foreach($displayColumns AS $column) { switch ($column) { case "download": ?>   <?php break; case "icon": ?>   <?php break; case "name": ?> "><?php echo translate("name");?> <?php $sort = $_GET["sort"]; if ($sort=="name") echo "\"".translate($_GET["order"])."\"/"; ?> <?php break; case "type": ?> "><?php echo translate("type");?> <?php if ($sort=="type") echo "\"".translate($_GET["order"])."\"/"; ?> <?php break; case "size": ?> <?php if ($sort=="size") echo "\"".translate($_GET["order"])."\"/"; ?> "><?php echo translate("size");?> <?php break; case "date": ?> "><?php echo translate("date");?> <?php if ($sort=="date") echo "\"".translate($_GET["order"])."\"/"; ?> <?php break; case "description": ?> 0) echo " style=\"width:".$descriptionColumnWidth."px;\"";?>><?php echo translate("description");?> <?php break; case "cvsversion": ?> <?php echo translate("CVS");?> <?php break; } } ?> <?php for ($i=$pageStart;$i<$pageEnd;$i++) { ?> "> <?php foreach($displayColumns AS $column) { switch ($column) { case "download": echo ""; if ($files[$i]["isDirectory"] OR !$files[$i]["isDownloadable"]) { ?> <?php } else { ?> "><?php echo getIcon(" alt="<?php echo translate("download");?>" title="<?php echo translate("download");?>" width="7" height="16" style="vertical-align:middle;"/> <?php } echo ""; break; case "icon": echo ""; ?> " title="<?php echo htmlentities($files[$i]["name"]);?>"><?php echo $files[$i][" alt="" title="<?php echo translate($files[$i]["filetype"])?>" width="16" height="16" style="vertical-align:middle;"/> <?php echo ""; break; case "name": echo ""; ?>" title="<?php echo htmlentities($files[$i]["name"]);?>"><?php echo $files[$i]["displayName"]." "; echo ""; break; case "type": echo ""; echo $files[$i]["type"]; echo ""; break; case "size": echo ""; if ($files[$i]["fullSize"]!="") echo " "; echo $files[$i]["niceSize"]; if ($files[$i]["fullSize"]!="") echo " "; echo ""; break; case "date": echo ""; echo "".$files[$i]["shortDate"].""; echo ""; break; case "description": ?> <?php if ($files[$i]["filetype"]=="image") { echo $files[$i]["thumbnail"]; } ?> <?php echo $files[$i]["description"];?> <?php break; case "cvsversion": echo ""; echo $files[$i]["cvsversion"]; echo ""; break; } } ?> <?php } if ($pagingInEffect) { ?> <?php echo getPagingHeader(); ?> <?php } ?>
© 2004-2005 Gremlin UK Ltd

gremlinuk
Newbie Poster
1 post since Jan 2005
Reputation Points: 10
Solved Threads: 0
 

Well firstly to answer your question, i believe you need to alter this line and add target="_blank" within the anchor tag ( ) [PHP]"><?php echo getIcon(" alt="<?php echo translate("download");?>" title="<?php echo translate("download");?>" width="7" height="16" style="vertical-align:middle;"/>[/PHP] i cant guarantee thats right as i only scanned the HUGE file you posted.

My second point is to menetion that you should try to post only the code rather than the large header of comments within the file. Posting the entire commends, change history and credits is just soooo long and frankly daunting to anyone who might want to help you :)
for example, dump the junk above:
****************************************************************************
** DESCRIPTION FILE FORMAT **
****************************************************************************

ReDuX
Junior Poster
127 posts since Sep 2004
Reputation Points: 12
Solved Threads: 5
 

Hi,
i am wanting to see some value of textboxes in a new window.can u give me the php code plz?

sultan_aiub
Newbie Poster
1 post since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

use java n form post method

fatihpiristine
Posting Whiz in Training
283 posts since Sep 2007
Reputation Points: 6
Solved Threads: 19
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You