<?php
 
require_once("Word__.php");
 
    if($_REQUEST['word'] !=''){
 
        $word = $_REQUEST['word'];
 
    }else{
 
        $word = "EmmsDan";
 
    }
 
$Word__ = new Word__;
 
 
    $Word__->_WordToNumber($word);
 
?>
 
<!DOCTYPE html>
 
<html lang= "en" >
 
<head>
 
<title> Word To Number version 1.0.0 Example </title>
 
<style>
 
    td{
 
    padding: 15px;
 
    color: #ff0;
 
    background: #0076cb;
 
    }
 
</style>
 
</head>
 
 
<body class="bg-primary">
 
<div class="page-header">
 
        <h1>
 
EmmsDan Projects. 
 
        </h1>
 
<h4> WordToNumber Class Examples </h4>
 
</div>
 
    <table border="2" style="padding: 15px;background: #cee944;">
 
            <thead>
 
<th> Normal CodedString </th>
 
    <tr>
 
        <th>
 
            Word:
 
        </th>    
 
        <th>
 
            Number:
 
        </th>    
 
    </tr>        
 
    </thead>
 
    <tbody>
 
        
 
    <tr class='success'>
 
 
        <td>
 
            <?php echo $Word__->String; ?>
 
        </td>    
 
        <td>
 
            <?php echo $Word__->CodedString; ?>
 
        </td>    
 
    </tr>        
 
    </tbody>
 
 
 
<th> Hash with CodedString </th>
 
            <thead>
 
    <tr>
 
        <th>
 
            Word:
 
        </th>    
 
        <th>
 
            Number:
 
        </th>        
 
        <th>
 
            Hashed:
 
        </th>    
 
    </tr>        
 
    </thead>
 
    <tbody>
 
        
 
    <tr class='success'>
 
 
        <td>
 
            <?php echo $Word__->String; ?>
 
        </td>    
 
        <td>
 
            <?php echo $Word__->CodedString; ?>
 
        </td>    
 
        <td>
 
            <?php echo $Word__->CodedHash; ?>
 
        </td>    
 
    </tr>        
 
    </tbody>
 
 
        </table>
 
    
 
<form method="post">
 
    <input name="word" value="<?php echo $word; ?>">
 
        <input type="submit">
 
</form>
 
        </div>
 
</body>
 
</html>
 
 
 |