Location: PHPKode > projects > NetLink > netlink_os/egap/symbol.php
<html>
<head>
<title>
Symbols
</title>
<link media="screen" type="text/css" rel="stylesheet"  href="../main.css" />  
<style type='text/css'>
td
{

  height: 10px;
}
</style>
</head>
<?php
  $td="onmouseover='fade_on(this)' onmouseout='fade_out(this)' onclick='transfer(this.innerHTML)'"
?>
<body>
<script type='text/javascript'>
function fade_on(cell)
{
	cell.style.background="#999999";
	cell.style.cursor='pointer';
}

function fade_out(cell)
{
	cell.style.background="";
}
function transfer(content)
{
  document.getElementById("last").innerHTML="Last Symbol: "+content;
  window.opener.document.getElementById("text1").value+=content;
}
</script>
<h3 style='text-align: center'>Symbols</h3>
<div align='center'>
Click on the symbol you want to be inserted in your text on your webpage.
<br/><br/>
<div id='last'>Last Symbol: ____</div>
<table summary='symbols' border='0' style='border: 5px black outset;'>
  <tr>
    <td <?php echo $td; ?>>&lsquo;</td>
    <td <?php echo $td; ?>>&rsquo;</td>
    <td <?php echo $td; ?>>&sbquo;</td>
    <td <?php echo $td; ?>>&ldquo;</td>
    <td <?php echo $td; ?>>&rdquo;</td>
    <td <?php echo $td; ?>>&bdquo;</td>
    <td <?php echo $td; ?>>&dagger;</td>
    <td <?php echo $td; ?>>&Dagger;</td>
    <td <?php echo $td; ?>>&permil;</td>
    <td <?php echo $td; ?>>&lsaquo;</td>
    <td <?php echo $td; ?>>&rsaquo;</td>
    <td <?php echo $td; ?>>&spades;</td>
    <td <?php echo $td; ?>>&clubs;</td>
    <td <?php echo $td; ?>>&hearts;</td>
    <td <?php echo $td; ?>>&diams;</td>
    <td <?php echo $td; ?>>&oline;</td>
    <td <?php echo $td; ?>>&larr;</td>
    <td <?php echo $td; ?>>&uarr;</td>
    <td <?php echo $td; ?>>&rarr;</td>
    <td <?php echo $td; ?>>&darr;</td>
    <td <?php echo $td; ?>>&trade;</td>
  </tr>
  <tr>
  <?php
    $x=33;
    for ($x==33; $x<=54; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
    <tr>
  <?php
    $x=55;
    for ($x==55; $x<=76; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
    <tr>
  <?php
    $x=77;
    for ($x==77; $x<=98; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
    <tr>
  <?php
    $x=99;
    for ($x==99; $x<=120; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
    <tr>
  <?php
    $x=121;
    for ($x==121; $x<=126; $x++)
      echo "<td $td>&#$x;</td>\n";
    
    echo "<td $td>&#150;</td>\n";
    echo "<td $td>&#151;</td>\n";
    
    $x=160;
    for ($x==160; $x<=172; $x++)
      echo "<td $td>&#$x;</td>\n";
    echo "<td $td>&#174;</td>\n";
  ?>
  </tr>
      <tr>
  <?php
    $x=175;
    for ($x==175; $x<=196; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
  <tr>
  <?php
    $x=196;
    for ($x==196; $x<=217; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
  <tr>
  <?php
    $x=217;
    for ($x==217; $x<=238; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>
  <tr>
  <?php
    $x=239;
    for ($x==239; $x<=255; $x++)
      echo "<td $td>&#$x;</td>\n";
  ?>
  </tr>

</table>
<br/>
<button onclick='javascript:self.close();'>Close</button>
</div>
</body>
</html>
Return current item: NetLink