PHP Classes

File: libs/Barcode/html/BCGs25.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   libs/Barcode/html/BCGs25.php   Download  
File: libs/Barcode/html/BCGs25.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 1,156 bytes
 

Contents

Class file image Download
<?php
define
('IN_CB', true);
include(
'include/header.php');

$default_value['checksum'] = '';
$checksum = isset($_POST['checksum']) ? $_POST['checksum'] : $default_value['checksum'];
registerImageKey('checksum', $checksum);
registerImageKey('code', 'BCGs25');

$characters = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9');
?>

<ul id="specificOptions">
    <li class="option">
        <div class="title">
            <label for="checksum">Checksum</label>
        </div>
        <div class="value">
            <?php echo getCheckboxHtml('checksum', $checksum, array('value' => 1)); ?>
</div>
    </li>
</ul>

<div id="validCharacters">
    <h3>Valid Characters</h3>
    <?php foreach ($characters as $character) { echo getButton($character); } ?>
</div>

<div id="explanation">
    <h3>Explanation</h3>
    <ul>
        <li>Known also as Industrial 2 of 5.</li>
        <li>Standard 2 of 5 is a low-density numeric symbology that has been with us since the 1960s.</li>
        <li>There is an optional checksum.</li>
        <li>Note: Standard 2 of 5 is really tough to read!</li>
    </ul>
</div>

<?php
include('include/footer.php');
?>