Fout in var?

Status
Niet open voor verdere reacties.

ginojo

Gebruiker
Lid geworden
7 sep 2010
Berichten
912
hallo allemaal,

ik ben met een software pagina bezig. deze software is gesorteerd op alfabetische volgorde. ik had dus eerst 26 pagina's maar dat wil ik nu allemaal in 1 pagina. Ik heb nu de volgende code
PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
  <title>Downloads - Software - The Digit Company</title>
  <link id="theme" rel="stylesheet" type="text/css" href="http://digitcompany.zxq.net/style.css" title="theme" />
</head>
<body>
<div id="wrapper">
<div id="bg">
<div id="header"></div>
<div id="page">
<div id="container"><!-- horizontal navigation -->
<div id="nav1">
<ul>
<li> <a href="http://digitcompany.zxq.net/index.html" shape="rect">Home</a> </li>
<li> <a href="http://digitcompany.zxq.net/downloads.html" shape="rect">Downloads</a> </li>
<li> <a href="http://digitcompany.zxq.net/members.html" shape="rect">Member</a> </li>
<li> <a href="http://digitcompany.zxq.net/news.html" shape="rect">News</a> </li>
<li> <a href="http://digitcompany.zxq.net/contactus.html" shape="rect">Contact</a> </li>
</ul>
<script> 

var linktext=new Array()
linktext[100]="No software found."
linktext[0]="Make your own working BATCH file in a few minutes."
linktext[1]="Surf, and search with confidence, while LinkScanner keeps you safe from harmful sites, Enjoy consistently high-speed PC performance with our new enhanced virus scanner, Compatible with Windows 7, Windows Vista, Windows XP and Windows 2000."
linktext[2]="Advanced Renamer is a free program for renaming multiple files or folders at once. It can use several different methods for calculating the new name including multimedia tools for sound and picture files."
linktext[3]="Any Video Converter is the most renowned free video converter for converting video files between various formats, with fast converting speed and excellent video quality. This powerful free video converter application makes video conversion quick and easy."
linktext[4]="The Adobe Acrobat Reader allows you to view, navigate, browse, and print portable document format (PDF) files that have been created by Adobe Acrobat. It also enables you to fill in visually rich, interactive PDF forms. An ActiveX control for Internet Explorer and a plug-in for Netscape Navigator are included and automatically installed in the browser of your choice. "
linktext[5]="Convert video to ALL KEY FORMATS with AVS Video Converter. Create HD-, Blu-ray videos with enhanced menus. Сonvert files for various devices and upload videos on popular websites directly from the program interface."
linktext[6]="AxCrypt is the leading open source file encryption software for Windows. It integrates seamlessly with Windows to compress, encrypt, decrypt, store, send and work with individual files."
linktext[7]="BitComet is a BitTorrent/HTTP/FTP download management software, which is powerful, fast, very easy-to-use, and completely FREE. The advanced features it contains can accelerate your downloading speed up to 5 - 10 times faster, or even more."
linktext[8]="Excessive demand, even from a small section of your network, will slow or cripple the Internet performance of all your computers. If you’ve had to forcibly reboot a stuck machine or simply suffer from repeated complaints of slow connections, you know the problem. Purchasing more bandwidth does not solve it, as experience shows unrestricted traffic will always expand to use the bandwidth available!"
linktext[9]="CamStudio is able to record all screen and audio activity on your computer and create industry-standard AVI video files and using its built-in SWF Producer can turn those AVIs into lean, mean, bandwidth friendly Streaming Flash videos."
linktext[10]="CCleaner is the number-one tool for cleaning your Windows PC. Keep your privacy safe online, and make your computer faster and more secure."
linktext[11]="The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: When you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser."
linktext[12]="With the combined technology of SHAa1 and RC4, it will lock your files with a 160-bit password-protected keyword. It features a batch encoding/decoding function and works well for both home and office use. Warning: choose the password carefully, it holds the key to many files." 
linktext[13]="DivX gives you the freedom to enjoy high-quality video, anywhere you want."
linktext[14]="Driver Scanner is built with simplicity as a basis, then your PC is scanned a list of drivers appears to be updated. With a single click will update every driver scanner then safely on your PC."
linktext[15]="Use Drupal to build everything from personal blogs to enterprise applications. Thousands of add-on modules and designs let you build any site you can imagine."
linktext[16]="At dawn of  May 13th 2002 a guy called Merkur was dissatisfied with the original eDonkey2000 client and was convinced he could do better. So he did. He gathered other developers around him, and eMule Project was born. Their aim was to put the client back on track where eDonkey had been famous before, adding tons of new features and a nice GUI. They couldn't imagine what impact this decision would have... "
linktext[17]="EVEREST Ultimate Edition is a complete PC diagnostics software utility that assists you while installing, optimizing or troubleshooting your computer by providing all the information you can think of about your system – from hardware devices and installed drivers to operating system security and stability metrics."
linktext[18]="FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface."
linktext[19]="Everybody uses the Web differently, so why should your browser be exactly like the next guy’s? Whether you’re into chatting, cooking or coding, Firefox has more than 6,000 add-ons to help you customize it to fit your exact needs. Plus thousands of Personas to instantly change the way it looks."
linktext[20]="The Flock browser is designed to complement exciting social services like those listed below. Check back often, we're adding new sites all the time. The more you use these key services that Flock supports, the better your experience will be."
linktext[21]="Foxit PDF Reader is a small, fast, and feature rich PDF viewer for Microsoft Windows, which allows you to open, view, and print any PDF file. Foxit PDF Reader is secure, offering 3-three levels of PDF viewing security to protect against malicious PDF files."
linktext[22]="FrostWire, a Gnutella Peer-to-Peer client, is a collaborative effort from hundreds of Open Source and freelance developers from around the world."
linktext[23]="Actual Keylogger is a free keylogger which runs hidden in the background and automatically records all keystrokes (including Alt, Ctrl and other functional buttons). The interface can be password protected and the log files are encrypted. You can view the reports as HTML or plain text. In the hidden mode it is invisible in all operating systems. This free keylogger will be really helpful to both the system administrators and home users."
linktext[24]="MediaInfo supplies technical and tag information about a video or audio file. It is free software (free of charge and free access to source code: GPL or LGPL licence)"
linktext[25]="NetSniffer is an interesting tool when setting up a home network, for instance to test if a certain PC really receives and transmits data. Additional, NetSniffer allows any user to inspect by himself, which data the attached PCs actually transmit."
linktext[26]="Surf the Web on a mobile phone as easily as on a desktop computer. Whichever phone you have, a smooth user experience awaits."
linktext[27]="When you delete a file on FAT32 or NTFS file system, its content is not erased from disk but only reference to file data in File Allocation Table or Master File Table is marked as deleted. It means that you might be able to recover deleted files, or make it visible for file system again. "
linktext[28]="Picasa is a software download from Google that helps you organize, edit, and share your photos. It's free, and easy to use."
linktext[29]="Advanced Port Scanner is a small, fast, robust and easy-to-use port scanner for Win32 platform. It uses a multithread technique, so on fast machines you can scan ports very fast. Also, it contains descriptions for common ports, and can perform scans on predefined port ranges."
linktext[30]="If you've ever had to troubleshoot a computer running Windows, chances are good that you've opened up Task Manager to take a look at what applications and processes are currently running. "
linktext[31]="The SoftPerfect RAM Disk for Workstations application was designed to be a high-performance RAM disk program that lets you have a disk on your computer entirely stored in the memory. "
linktext[32]="Sorry, no information available now."
linktext[33]="Accidentally deleted an important file? Lost something important when your computer crashed? No problem! Recuva recovers files deleted from your Windows computer, Recycle Bin, digital camera card, or MP3 player. And it's free!"
linktext[34]="A clean, tabbed layout makes Registry Booster easy to use, and its Registry centric features keep it focused and in fighting trim."
linktext[35]="Resource Hacker is a freeware utility to view, modify, add, delete and extract resources in 32bit Windows executables."
linktext[36]="The latest entry in the RPG MAKER series that gives you the power to create your own original RPGs"
linktext[37]="See the web in a whole new way with better performance, greater HTML5 support, and more — all on the world's fastest web browser."
 
var ns6=document.getElementById&&!document.all
var ie=document.all
 
function show_text(thetext, whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}
 
function resetit(whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=' '
else if (ns6) document.getElementById(whichdiv).innerHTML=' '
}
 
</script>
<!-- show_text(index# of linktext[] to show, ID of div to write to) -->
 </div>
<!-- end horizontal navigation --><!-- content -->
<div id="content">
<div id="center">
<div id="welcome">
<h3 style="font-style: italic;"><big><big>Software</big></big></h3>
<br><br><br>
The software is sorted alphabetically. Choose the first letter of the softwares name you want to download.<br><br><br>
<a href="software.html?id=a" shape="rect">A</a> | 
<a href="software.html?id=b" shape="rect">B</a> | 
<a href="software.html?id=c" shape="rect">C</a> | 
<a href="software.html?id=d" shape="rect">D</a> | 
<a href="software.html?id=e" shape="rect">E</a> | 
<a href="software.html?id=f" shape="rect">F</a> | 
<a href="software.html?id=g" shape="rect">G</a> | 
<a href="software.html?id=h" shape="rect">H</a> | 
<a href="software.html?id=i" shape="rect">I</a> | 
<a href="software.html?id=j" shape="rect">J</a> | 
<a href="software.html?id=k" shape="rect">K</a> | 
<a href="software.html?id=l" shape="rect">L</a> | 
<a href="software.html?id=m" shape="rect">M</a> | 
<a href="software.html?id=n" shape="rect">N</a> | 
<a href="software.html?id=o" shape="rect">O</a> | 
<a href="software.html?id=p" shape="rect">P</a> | 
<a href="software.html?id=q" shape="rect">Q</a> | 
<a href="software.html?id=r" shape="rect">R</a> |  
<a href="software.html?id=s" shape="rect">S</a> | 
<a href="software.html?id=t" shape="rect">T</a> | 
<a href="software.html?id=u" shape="rect">U</a> | 
<a href="software.html?id=v" shape="rect">V</a> | 
<a href="software.html?id=w" shape="rect">W</a> | 
<a href="software.html?id=x" shape="rect">X</a> | 
<a href="software.html?id=y" shape="rect">Y</a> | 
<a href="software.html?id=z" shape="rect">Z</a> 
<p>
<br>
</p>
<?
if(isset($_GET['id']))
{
  if ($_GET['id'] == "a") { ?>
<h3 style="font-style: italic;"><big>A</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/AVG SETUP.rar"
 onmouseover="show_text(1,'div1')" onmouseout="resetit('div1')">AVG Virus protection</a> 
<br/>
<span id="div1"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/ADVANCED RENAMER SETUP.rar"
 onmouseover="show_text(2,'div2')" onmouseout="resetit('div2')">Advanced Renamer</a> 
<br/>
<span id="div2"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/ACRO READER SETUP.rar"
 onmouseover="show_text(4,'div4')" onmouseout="resetit('div4')">Acro Reader</a> 
<br/>
<span id="div4"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/AVSVideoEditor.rar"
 onmouseover="show_text(5,'div5')" onmouseout="resetit('div5')">AVS Video Editor</a> 
<br/>
<span id="div5"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/AxCrypt-1.7.2126.0-Source.zip"
 onmouseover="show_text(6,'div6')" onmouseout="resetit('div6')">AX Crypt</a> 
<br/>
<span id="div6"> </span>
<?
  } 
if ($_GET['id'] == "b") { ?>
<h3 style="font-style: italic;"><big>B</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/BATCH EDIT SETUP.rar"
 onmouseover="show_text(0,'div0')" onmouseout="resetit('div0')">Batch Edit</a> 
<br/>
<span id="div0"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/BitComet_1.23_setup.rar"
 onmouseover="show_text(7,'div7')" onmouseout="resetit('div7')">Bitcomet</a> 
<br/>
<span id="div7"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/bwmsetup.rar"
 onmouseover="show_text(8,'div8')" onmouseout="resetit('div8')">Bandwith Manager</a> 
<br/>
<span id="div8"> </span> 
<?
  }
if ($_GET['id'] == "c") { ?>
<h3 style="font-style: italic;"><big>C</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/CAMSTUDIO 20 SETUP.rar"
 onmouseover="show_text(9,'div9')" onmouseout="resetit('div9')">Cam Studio 20</a> 
<br/>
<span id="div9"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/CCLEANER SETUP.rar"
 onmouseover="show_text(10,'div10')" onmouseout="resetit('div10')">CCleaner</a> 
<br/>
<span id="div10"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/ChromeSetup.rar"
 onmouseover="show_text(11,'div11')" onmouseout="resetit('div11')">Chrome (Google)</a> 
<br/>
<span id="div11"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/cryptext.zip"
 onmouseover="show_text(12,'div12')" onmouseout="resetit('div12')">CrypText</a> 
<br/>
<span id="div12"> </span>
<?
  }
if ($_GET['id'] == "d") { ?>
<h3 style="font-style: italic;"><big>D</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/DIVX SETUP.rar"
 onmouseover="show_text(13,'div13')" onmouseout="resetit('div13')">DivX</a> 
<br/>
<span id="div13"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/DRIVER SCANNER SETUP.rar"
 onmouseover="show_text(14,'div14')" onmouseout="resetit('div14')">Driver Scanner</a> 
<br/>
<span id="div14"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/drupal-7.0-alpha7.tar.gz"
 onmouseover="show_text(15,'div15')" onmouseout="resetit('div15')">Drupal 7.0</a> 
<br/>
<span id="div15"> </span>
<?
  } 
if ($_GET['id'] == "e") { ?>
<h3 style="font-style: italic;"><big>E</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/eMule0.50a-Installer.rar"
 onmouseover="show_text(16,'div16')" onmouseout="resetit('div16')">eMule</a> 
<br/>
<span id="div16"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/EVEREST ULTIMATE 5.30.rar"
 onmouseover="show_text(17,'div17')" onmouseout="resetit('div17')">Everest Ultimate Edition 5.30</a> 
<br/>
<span id="div17"> </span>
<?
  }
if ($_GET['id'] == "f") { ?>
<h3 style="font-style: italic;"><big>F</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/FileZilla_3.3.4.1_win32-setup.rar"
 onmouseover="show_text(18,'div18')" onmouseout="resetit('div18')">FileZilla 3.3.4.1</a> 
<br/>
<span id="div18"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/Firefox%20Setup%203.6.10.rar"
 onmouseover="show_text(19,'div19')" onmouseout="resetit('div19')">FireFox 203.6.10</a> 
<br/>
<span id="div19"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/FlockSetup_1_2_213_0.rar"
 onmouseover="show_text(20,'div20')" onmouseout="resetit('div20')">Flock 1.2.213</a> 
<br/>
<span id="div20"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/FOXITREADER SETUP.rar"
 onmouseover="show_text(21,'div21')" onmouseout="resetit('div21')">Fox It Reader</a> 
<br/>
<span id="div21"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/frostwire-4.20.9.windows.rar"
 onmouseover="show_text(22,'div22')" onmouseout="resetit('div22')">Frost Wire 4.20.9</a> 
<br/>
<span id="div22"> </span>
<?
  } 
if ($_GET['id'] == "g") { ?>
<h3 style="font-style: italic;"><big>G</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "h") { ?>
<h3 style="font-style: italic;"><big>H</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "i") { ?>
<h3 style="font-style: italic;"><big>I</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "j") { ?>
<h3 style="font-style: italic;"><big>J</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "k") { ?>
<h3 style="font-style: italic;"><big>K</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/KEYLOGGER SETUP.rar"
 onmouseover="show_text(23,'div23')" onmouseout="resetit('div23')">Free KeyLogger</a> 
<br/>
<span id="div23"> </span>
<?
  } 
if ($_GET['id'] == "l") { ?>
<h3 style="font-style: italic;"><big>L</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "m") { ?>
<h3 style="font-style: italic;"><big>M</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/MEDIA INFO 0.7.33 SETUP.rar"
 onmouseover="show_text(24,'div24')" onmouseout="resetit('div24')">Media Info 0.7.33</a> 
<br/>
<span id="div24"> </span>
<?
  } 
if ($_GET['id'] == "n") { ?>
<h3 style="font-style: italic;"><big>N</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/MEDIA INFO 0.7.33 SETUP.rar"
 onmouseover="show_text(25,'div25')" onmouseout="resetit('div25')">Net Sniffer</a> 
<br/>
<span id="div25"> </span>
<?
  } 
if ($_GET['id'] == "o") { ?>
<h3 style="font-style: italic;"><big>O</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/MEDIA INFO 0.7.33 SETUP.rar"
 onmouseover="show_text(26,'div26')" onmouseout="resetit('div26')">Opera Mini</a> 
<br/>
<span id="div26"> </span>
<?
  } 
if ($_GET['id'] == "p") { ?>
<h3 style="font-style: italic;"><big>P</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/PandoraRecovery2.1.1Setup.rar"
 onmouseover="show_text(27,'div27')" onmouseout="resetit('div27')">Pandora Recovery 2.1.1</a> 
<br/>
<span id="div27"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/PICASA SETUP.rar"
 onmouseover="show_text(28,'div28')" onmouseout="resetit('div28')">Picasa</a> 
<br/>
<span id="div28"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/PORTSCANNER SETUP.rar"
 onmouseover="show_text(29,'div29')" onmouseout="resetit('div29')">Port Scanner</a> 
<br/>
<span id="div29"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/PROCESSCANNER SETUP.rar"
 onmouseover="show_text(30,'div30')" onmouseout="resetit('div30')">Proces Scanner</a> 
<br/>
<span id="div30"> </span>
<?
if ($_GET['id'] == "q") { ?>
<h3 style="font-style: italic;"><big>Q</big></h3> 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "r") { ?>
<h3 style="font-style: italic;"><big>R</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/ramdisk_for_workstations_setup.rar"
 onmouseover="show_text(31,'div31')" onmouseout="resetit('div31')">Ramdisk for Workstations</a> 
<br/>
<span id="div31"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/REBUILD 1.0.zip"
 onmouseover="show_text(32,'div32')" onmouseout="resetit('div32')">Rebuild 1.0</a> 
<br/>
<span id="div32"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/RECUVA SETUP.rar"
 onmouseover="show_text(33,'div33')" onmouseout="resetit('div33')">Recuva</a> 
<br/>
<span id="div33"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/REGISTERYBOOST SETUP.rar"
 onmouseover="show_text(34,'div34')" onmouseout="resetit('div34')">RegisteryBoost</a> 
<br/>
<span id="div34"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/ResHack.zip"
 onmouseover="show_text(35,'div35')" onmouseout="resetit('div35')">Res Hacker</a> 
<br/>
<span id="div35"> </span>
<p>
 <a href="http://tdcfiles.zxq.net/software/RPG GAME MAKER SETUP.rar"
 onmouseover="show_text(36,'div36')" onmouseout="resetit('div36')">RPG Game Maker</a> 
<br/>
<span id="div36"> </span> 
<?
  } 
if ($_GET['id'] == "s") { ?>
<h3 style="font-style: italic;"><big>S</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/software/SafariQuickTimeSetup.rar"
 onmouseover="show_text(37,'div37')" onmouseout="resetit('div37')">Safari QuickTime</a> 
<br/>
<span id="div37"> </span>
<?
  } 
if ($_GET['id'] == "t") { ?>
<h3 style="font-style: italic;"><big>T</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "u") { ?>
<h3 style="font-style: italic;"><big>U</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "v") { ?>
<h3 style="font-style: italic;"><big>V</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "w") { ?>
<h3 style="font-style: italic;"><big>W</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "x") { ?>
<h3 style="font-style: italic;"><big>X</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "y") { ?>
<h3 style="font-style: italic;"><big>Y</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  } 
if ($_GET['id'] == "z") { ?>
<h3 style="font-style: italic;"><big>Z</big></h3>
 
<p>
 <a href="http://tdcfiles.zxq.net/"
 onmouseover="show_text(100,'div100')" onmouseout="resetit('div100')">No software added</a> 
<br/>
<span id="div100"> </span>
<?
  }
}
else
{
}
}
?>
</div>
</div>
<div class="clear" style="height: 40px;"></div>
</div>
<!-- end content --> </div>
<!-- end container --> </div>
<div id="footerWrapper">
<div id="footer">
<p style="padding-top: 10px;"></p>
</div>
</div>
</div>
</div>
</body>
</html>
(Is idd betje lang maarja... )
Maar deze code zou toch moeten werken? waarom wordt er dan niets weergegeven als je vanaf de q gaat. Dus vanaf a t/m p gaat het goed. maar daarna doet ie niks? ik zie ook niets bijzonders in de code... :( Ik heb ook al geprobeerd om het over 2 pagina's te verdelen. omdat het misschien te lang was, maar dan is het precies hetzelfde...

Weet iemand het?

Ginojo
 
Je bent vergeten om de if van regel 349 af te sluiten met een accolade sluiten boven
PHP:
if ($_GET['id'] == "q") { ?>
 
wat dacht u van deze code

PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
      <title>Downloads - Software - The Digit Company</title>
      <link id="theme" rel="stylesheet" type="text/css" href="http://digitcompany.zxq.net/style.css" title="theme" />
    </head>
<body>
    <div id="wrapper">
        <div id="bg">
            <div id="header"></div>
            <div id="page">
                <div id="container"><!-- horizontal navigation -->
                   <div id="nav1">
                        <ul>
                            <li> <a href="http://digitcompany.zxq.net/index.html" shape="rect">Home</a> </li>
                            <li> <a href="http://digitcompany.zxq.net/downloads.html" shape="rect">Downloads</a> </li>
                            <li> <a href="http://digitcompany.zxq.net/members.html" shape="rect">Member</a> </li>
                            <li> <a href="http://digitcompany.zxq.net/news.html" shape="rect">News</a> </li>
                            <li> <a href="http://digitcompany.zxq.net/contactus.html" shape="rect">Contact</a> </li>
                        </ul>
                        <script> 
                            var linktext=new Array()
                            linktext[100]="No software found."
                            linktext[0]="Make your own working BATCH file in a few minutes."
                            linktext[1]="Surf, and search with confidence, while LinkScanner keeps you safe from harmful sites, Enjoy consistently high-speed PC performance with our new enhanced virus scanner, Compatible with Windows 7, Windows Vista, Windows XP and Windows 2000."
                            linktext[2]="Advanced Renamer is a free program for renaming multiple files or folders at once. It can use several different methods for calculating the new name including multimedia tools for sound and picture files."
                            linktext[3]="Any Video Converter is the most renowned free video converter for converting video files between various formats, with fast converting speed and excellent video quality. This powerful free video converter application makes video conversion quick and easy."
                            linktext[4]="The Adobe Acrobat Reader allows you to view, navigate, browse, and print portable document format (PDF) files that have been created by Adobe Acrobat. It also enables you to fill in visually rich, interactive PDF forms. An ActiveX control for Internet Explorer and a plug-in for Netscape Navigator are included and automatically installed in the browser of your choice. "
                            linktext[5]="Convert video to ALL KEY FORMATS with AVS Video Converter. Create HD-, Blu-ray videos with enhanced menus. Сonvert files for various devices and upload videos on popular websites directly from the program interface."
                            linktext[6]="AxCrypt is the leading open source file encryption software for Windows. It integrates seamlessly with Windows to compress, encrypt, decrypt, store, send and work with individual files."
                            linktext[7]="BitComet is a BitTorrent/HTTP/FTP download management software, which is powerful, fast, very easy-to-use, and completely FREE. The advanced features it contains can accelerate your downloading speed up to 5 - 10 times faster, or even more."
                            linktext[8]="Excessive demand, even from a small section of your network, will slow or cripple the Internet performance of all your computers. If you’ve had to forcibly reboot a stuck machine or simply suffer from repeated complaints of slow connections, you know the problem. Purchasing more bandwidth does not solve it, as experience shows unrestricted traffic will always expand to use the bandwidth available!"
                            linktext[9]="CamStudio is able to record all screen and audio activity on your computer and create industry-standard AVI video files and using its built-in SWF Producer can turn those AVIs into lean, mean, bandwidth friendly Streaming Flash videos."
                            linktext[10]="CCleaner is the number-one tool for cleaning your Windows PC. Keep your privacy safe online, and make your computer faster and more secure."
                            linktext[11]="The web browser is arguably the most important piece of software on your computer. You spend much of your time online inside a browser: When you search, chat, email, shop, bank, read the news, and watch videos online, you often do all this using a browser."
                            linktext[12]="With the combined technology of SHAa1 and RC4, it will lock your files with a 160-bit password-protected keyword. It features a batch encoding/decoding function and works well for both home and office use. Warning: choose the password carefully, it holds the key to many files." 
                            linktext[13]="DivX gives you the freedom to enjoy high-quality video, anywhere you want."
                            linktext[14]="Driver Scanner is built with simplicity as a basis, then your PC is scanned a list of drivers appears to be updated. With a single click will update every driver scanner then safely on your PC."
                            linktext[15]="Use Drupal to build everything from personal blogs to enterprise applications. Thousands of add-on modules and designs let you build any site you can imagine."
                            linktext[16]="At dawn of  May 13th 2002 a guy called Merkur was dissatisfied with the original eDonkey2000 client and was convinced he could do better. So he did. He gathered other developers around him, and eMule Project was born. Their aim was to put the client back on track where eDonkey had been famous before, adding tons of new features and a nice GUI. They couldn't imagine what impact this decision would have... "
                            linktext[17]="EVEREST Ultimate Edition is a complete PC diagnostics software utility that assists you while installing, optimizing or troubleshooting your computer by providing all the information you can think of about your system – from hardware devices and installed drivers to operating system security and stability metrics."
                            linktext[18]="FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive graphical user interface."
                            linktext[19]="Everybody uses the Web differently, so why should your browser be exactly like the next guy’s? Whether you’re into chatting, cooking or coding, Firefox has more than 6,000 add-ons to help you customize it to fit your exact needs. Plus thousands of Personas to instantly change the way it looks."
                            linktext[20]="The Flock browser is designed to complement exciting social services like those listed below. Check back often, we're adding new sites all the time. The more you use these key services that Flock supports, the better your experience will be."
                            linktext[21]="Foxit PDF Reader is a small, fast, and feature rich PDF viewer for Microsoft Windows, which allows you to open, view, and print any PDF file. Foxit PDF Reader is secure, offering 3-three levels of PDF viewing security to protect against malicious PDF files."
                            linktext[22]="FrostWire, a Gnutella Peer-to-Peer client, is a collaborative effort from hundreds of Open Source and freelance developers from around the world."
                            linktext[23]="Actual Keylogger is a free keylogger which runs hidden in the background and automatically records all keystrokes (including Alt, Ctrl and other functional buttons). The interface can be password protected and the log files are encrypted. You can view the reports as HTML or plain text. In the hidden mode it is invisible in all operating systems. This free keylogger will be really helpful to both the system administrators and home users."
                            linktext[24]="MediaInfo supplies technical and tag information about a video or audio file. It is free software (free of charge and free access to source code: GPL or LGPL licence)"
                            linktext[25]="NetSniffer is an interesting tool when setting up a home network, for instance to test if a certain PC really receives and transmits data. Additional, NetSniffer allows any user to inspect by himself, which data the attached PCs actually transmit."
                            linktext[26]="Surf the Web on a mobile phone as easily as on a desktop computer. Whichever phone you have, a smooth user experience awaits."
                            linktext[27]="When you delete a file on FAT32 or NTFS file system, its content is not erased from disk but only reference to file data in File Allocation Table or Master File Table is marked as deleted. It means that you might be able to recover deleted files, or make it visible for file system again. "
                            linktext[28]="Picasa is a software download from Google that helps you organize, edit, and share your photos. It's free, and easy to use."
                            linktext[29]="Advanced Port Scanner is a small, fast, robust and easy-to-use port scanner for Win32 platform. It uses a multithread technique, so on fast machines you can scan ports very fast. Also, it contains descriptions for common ports, and can perform scans on predefined port ranges."
                            linktext[30]="If you've ever had to troubleshoot a computer running Windows, chances are good that you've opened up Task Manager to take a look at what applications and processes are currently running. "
                            linktext[31]="The SoftPerfect RAM Disk for Workstations application was designed to be a high-performance RAM disk program that lets you have a disk on your computer entirely stored in the memory. "
                            linktext[32]="Sorry, no information available now."
                            linktext[33]="Accidentally deleted an important file? Lost something important when your computer crashed? No problem! Recuva recovers files deleted from your Windows computer, Recycle Bin, digital camera card, or MP3 player. And it's free!"
                            linktext[34]="A clean, tabbed layout makes Registry Booster easy to use, and its Registry centric features keep it focused and in fighting trim."
                            linktext[35]="Resource Hacker is a freeware utility to view, modify, add, delete and extract resources in 32bit Windows executables."
                            linktext[36]="The latest entry in the RPG MAKER series that gives you the power to create your own original RPGs"
                            linktext[37]="See the web in a whole new way with better performance, greater HTML5 support, and more — all on the world's fastest web browser."
                            var ns6=document.getElementById&&!document.all
                            var ie=document.all
                            function show_text(thetext, whichdiv){
                                if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
                                else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
                            }
                            function resetit(whichdiv){
                                if (ie) eval("document.all."+whichdiv).innerHTML=' '
                                else if (ns6) document.getElementById(whichdiv).innerHTML=' '
                            }
                        </script>
                    <!-- show_text(index# of linktext[] to show, ID of div to write to) -->
                     </div>
                <!-- end horizontal navigation --><!-- content -->
                <div id="content">
                    <div id="center">
                        <div id="welcome">
                            <h3 style="font-style: italic;"><big><big>Software</big></big></h3>
                            <br /><br /><br />
                            The software is sorted alphabetically. Choose the first letter of the softwares name you want to download.<br><br><br>
                            <?php
                             $info = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");
                             foreach($info as $key){
                                       print "<a href='software.html?id=$key' shape='rect'>$key</a> | ";
                             }
                             ?>
                            <p>
                            <br>
                            </p>
                            <?php
                             if (isset( $_GET['id'])){
                                $id = $_GET['id'];
                            	/*
                            Tuning replacer
                             <a href="http://tdcfiles.zxq.net/software/  =>  $linken['r'][]='
                            */
                            $linken['a']['AVG Virus protection']='AVG SETUP.rar';
                            $linken['a']['Advanced Renamer']='ADVANCED RENAMER SETUP.rar';
                            $linken['a']['Acro Reader']='ACRO READER SETUP.rar';
                            $linken['a']['AVS Video Editor']='AVSVideoEditor.rar';
                            $linken['a']['AX Crypt']='AxCrypt-1.7.2126.0-Source.zip';
                            $linken['b']['Batch Edit']='BATCH EDIT SETUP.rar';
                            $linken['b']['Bitcomet']='BitComet_1.23_setup.rar';
                            $linken['b']['Bandwith Manager']='bwmsetup.rar';
                            $linken['c']['Cam Studio 20']='CAMSTUDIO 20 SETUP.rar';
                            $linken['c']['CCleaner']='CCLEANER SETUP.rar';
                            $linken['c']['Chrome (Google)']='ChromeSetup.rar';
                            $linken['c']['CrypText']='cryptext.zip';
                            $linken['d']['DivX']='DIVX SETUP.rar';
                            $linken['d']['Driver Scanner']='DRIVER SCANNER SETUP.rar';
                            $linken['d']['Drupal 7.0']='drupal-7.0-alpha7.tar.gz';
                            $linken['e']['eMule ']='eMule0.50a-Installer.rar';
                            $linken['e']['Everest Ultimate Edition 5.30 ']='EVEREST ULTIMATE 5.30.rar';
                            $linken['f']['FileZilla 3.3.4.1 ']='FileZilla_3.3.4.1_win32-setup.rar';
                            $linken['f']['FireFox 203.6.10']='Firefox%20Setup%203.6.10.rar';
                            $linken['f']['Flock 1.2.213 ']='FlockSetup_1_2_213_0.rar';
                            $linken['f']['Fox It Reader ']='FOXITREADER SETUP.rar';
                            $linken['f']['Frost Wire 4.20.9 ']='frostwire-4.20.9.windows.rar';
                            $linken['k']['Free KeyLogger']='KEYLOGGER SETUP.rar';
                            $linken['m']['Media Info 0.7.33']='MEDIA INFO 0.7.33 SETUP.rar';
                            $linken['n']['Net Sniffer ']='MEDIA INFO 0.7.33 SETUP.rar';
                            $linken['o']['Opera Mini']='MEDIA INFO 0.7.33 SETUP.rar';
                            $linken['p']['Pandora Recovery 2.1.1 ']='PandoraRecovery2.1.1Setup.rar';
                            $linken['p']['Picasa ']='PICASA SETUP.rar';
                            $linken['p']['Port Scanner ']='PORTSCANNER SETUP.rar';
                            $linken['p']['Proces Scanner']='PROCESSCANNER SETUP.rar';
                            $linken['r']['Ramdisk for Workstations ']='ramdisk_for_workstations_setup.rar';
                            $linken['r']['Rebuild 1.0 ']='REBUILD 1.0.zip';
                            $linken['r']['Recuva ']='RECUVA SETUP.rar';
                            $linken['r']['RegisteryBoost ']='REGISTERYBOOST SETUP.rar';
                            $linken['r']['Res Hacker ']='ResHack.zip';
                            $linken['r']['RPG Game Maker ']='RPG GAME MAKER SETUP.rar';
                            $linken['s']['']='SafariQuickTimeSetup.rar';
                            print "<h3 style='font-style:italic;'><big>".strtoupper($id)."</big></h3>";
                            
                            if (in_array($id,$linken)){
                                echo $vieuw =$linken[$id];
                                foreach($vieuw as $key => $value){
                                    print "<p><a href='http://tdcfiles.zxq.net/software/".$value."onmouseover=\"'show_text(1,'div1')\" onmouseout=\"resetit('div1')\">$key</a><br/><span id=\"div$i\"> </span></p>";
                                }
                            } else{
                                print '<p> <a href="http://tdcfiles.zxq.net/" onmouseover="'."show_text(100,'div100')".'" onmouseout="'."resetit('div100')".'">No software added</a> <br/>';
                            }
                            }else{
                                print '<p>No software selected</p>';
                            }
                            ?>
                        </div>
                        <div class="clear" style="height: 40px;"></div>
                    </div>
                <!-- end content --> </div>
    <!-- end container --> </div>
    <div id="footerWrapper">
<div id="footer">
<p style="padding-top: 10px;"></p>
</div>
</div>
</div>
</div>
</body>
</html>
 
@kenikavanbis : Ik heb deze code erin gezet, maar ik krijg nu dus iedere keer te zien "geen software". Maar dat klopt dus niet helemaal. Moet ik nog iets aanpassen?:(

Alvast bedankt,

gino
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan