Вход Регистрация
Файл: demos/index.php
Строк: 301
<?php



            
/**************************************************************************************************
            | 
            | http://alternanetworks.com
            | ask@alternanetworks.com
            |
            |**************************************************************************************************
            |
            | By using this software you agree that you have read and acknowledged our End-User License 
            | Agreement available at http://envato.com/ and to be bound by it.
            |
            | Copyright (c) 2011 alternanetworks.com All rights reserved.
            |
            | http://codecanyon.net/user/AlternaNetworks 
            |**************************************************************************************************/

            //error_reporting( E_ALL );
            //ini_set( 'display_errors', '1' );


            
require_once ( "../captcha/load.php" );
            
$captcha = new myCaptcha'demo1' );
            
$captcha->font'KGSkinnyLatte.ttf' );
            
$captcha->fontSize60 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary'default.dictionary.php' );
            
$captcha->useDictionarytrue );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg03.jpg' );
            
$captcha->color'ffcc99' );
            
$captcha->bgColor'000000' );
            
$captcha->base64true );
            
$demo1 $captcha->image();

            
$captcha = new myCaptcha'demo2' );
            
$captcha->font'KGSkinnyLatte.ttf' );
            
$captcha->fontSize60 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary'iliad-by-homer.dictionary.php' );
            
$captcha->useDictionaryfalse );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg01.jpg' );
            
$captcha->color'#222222' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );

            
$demo2 $captcha->image();


            
$captcha = new myCaptcha'demo3' );
            
$captcha->font'daniel.ttf' );
            
$captcha->fontSize25 );
            
$captcha->lenght);
            
$captcha->dictionary( array(
                 
'envato',
                 
'codecanyon',
                 
'themeforest',
                 
'graphicriver',
                 
'3docean',
                 
'audiojungle',
                 
'videohive',
                 
'photodune' ) );
            
$captcha->useDictionarytrue );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg02.jpg' );
            
$captcha->color'#FF00AE' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );
            
$demo3 $captcha->image();


            
$captcha = new myCaptcha'demo4' );
            
$captcha->font'Aaargh.ttf' );
            
$captcha->fontSize50 );
            
$captcha->lenght);
            
$captcha->dictionary'' );
            
$captcha->useDictionaryfalse );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg04.jpg' );
            
$captcha->color'#00aaff' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );
            
$demo4 $captcha->image();


            
$captcha = new myCaptcha'demo5' );
            
$captcha->font'Harabara.ttf' );
            
$captcha->fontSize30 );
            
$captcha->lenght);
            
$captcha->dictionary'' );
            
$captcha->useDictionaryfalse );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg05.jpg' );
            
$captcha->color'#FF2200' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );
            
$demo5 $captcha->image();

            
$captcha = new myCaptcha'demo6' );
            
$captcha->font'Snickles.ttf' );
            
$captcha->fontSize50 );
            
$captcha->lenght);
            
$captcha->dictionary'default.dictionary.php' );
            
$captcha->useDictionarytrue );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg06.jpg' );
            
$captcha->color'#cccccc' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );
            
$demo6 $captcha->image();


            
$captcha = new myCaptcha'demo7' );

            
$captcha->font'junkos_typewriter.ttf' );
            
$captcha->fontSize50 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary'alice.dictionary.php' );
            
$captcha->useDictionarytrue );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavetrue );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg07.jpg' );
            
$captcha->color'#FFA091' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );
            
$demo7 $captcha->image();


            
$captcha = new myCaptcha'demo8' );
            
$captcha->font'KGSkinnyLatte.ttf' );
            
$captcha->fontSize50 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary'' );
            
$captcha->useDictionaryfalse );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavetrue );
            
$captcha->useFontWavetrue );
            
$captcha->useBgtrue );
            
$captcha->bg'bg08.jpg' );
            
$captcha->color'#222222' );
            
$captcha->bgColor'eaeaea' );
            
$captcha->base64true );
            
$demo8 $captcha->image();


            
$captcha = new myCaptcha'demo9' );
            
$captcha->font'journal.ttf' );
            
$captcha->fontSize50 );
            
$captcha->pattern'01' );
            
$captcha->lenght);
            
$captcha->dictionary'default.dictionay.php' );
            
$captcha->useDictionaryfalse );
            
$captcha->width250 );
            
$captcha->height80 );
            
$captcha->useBgWavetrue );
            
$captcha->useFontWavefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'bg03.jpg' );
            
$captcha->color'#222222' );
            
$captcha->bgColor'0066CC' );
            
$captcha->base64true );
            
$demo9 $captcha->image();


            
$captcha = new myCaptcha'demo10' );
            
$captcha->font'Snickles.ttf' );
            
$captcha->fontSize50 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary'default.dictionary.php' );
            
$captcha->useDictionarytrue );
            
$captcha->width250 );
            
$captcha->height250 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavefalse );
            
$captcha->useBgfalse );
            
$captcha->bg'bg00.jpg' );
            
$captcha->color'#00AAFF' );
            
$captcha->bgColor'#CDE6FF' );
            
$captcha->base64true );
            
$demo10 $captcha->image();
            
$demo10_qr $captcha->qr'demo10'100true );


            
$captcha = new myCaptcha'demo11' );
            
$captcha->font'Harabara.ttf' );
            
$captcha->fontSize40 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary'quixote.dictionary.php' );
            
$captcha->useDictionarytrue );
            
$captcha->width250 );
            
$captcha->height60 );
            
$captcha->useBgWavetrue );
            
$captcha->useFontWavetrue );
            
$captcha->fontWaveX20 );
            
$captcha->fontWaveY20 );
            
$captcha->useBgtrue );
            
$captcha->bg'bg05.jpg' );
            
$captcha->color'#eeeeee' );
            
$captcha->bgColor'#CDE6FF' );
            
$captcha->base64true );
            
$demo11 $captcha->image();
            
$demo11_qr $captcha->qr'demo11'240true );


            
$captcha = new myCaptcha'demo12' );
            
$captcha->font'KGSkinnyLatte.ttf' );
            
$captcha->fontSize30 );
            
$captcha->pattern'0123456789' );
            
$captcha->lenght);
            
$captcha->dictionary( array(
                 
'Alterna',
                 
'Networks',
                 
'Design',
                 
'Code',
                 
'Development',
                 
'like.no.other' ) );
            
$captcha->useDictionarytrue );
            
$captcha->width200 );
            
$captcha->height200 );
            
$captcha->useBgWavefalse );
            
$captcha->useFontWavetrue );
            
$captcha->fontWaveX10 );
            
$captcha->fontWaveY);
            
$captcha->fontAnglefalse );
            
$captcha->useBgtrue );
            
$captcha->bg'custom-bg.jpg' );
            
$captcha->color'#ffffff' );
            
$captcha->bgColor'#CDE6FF' );
            
$captcha->base64true );
            
$demo12 $captcha->image();
            
$demo12_qr $captcha->qr'demo12'120true );
                                                                                                         

?>                                  

<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>

    <!-- Basic Page Needs
  ================================================== -->
    <meta charset="utf-8">
    <title>myCaptcha | Powerful Human Verificator with Dictionary Maker</title>
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="stylesheets/base.css">
    <link rel="stylesheet" href="stylesheets/skeleton.css">
    <link rel="stylesheet" href="stylesheets/layout.css">
    <link rel="stylesheet" href="stylesheets/app.css">
    <!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>
<body>

    <div class="container">
        <div class="sixteen columns">
            <h1 class="remove-bottom" style="margin-top: 40px">myCaptcha</h1>
            <h5>Powerful Human Verificator with Dictionary Maker</h5>
            <hr />
        </div>
        
        <div class="one-third column">
            <h3>Demo 1</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo1'); ?>
            <p data-tip="Using Default Dictionary [44801 words]"><img src="<?php echo $demo1?>" /></p>
        </div>
        
        <div class="one-third column">
            <h3>Demo 2</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo2'); ?>
            <p data-tip="Custom pattern: Only Numbers & 4 Chars Limit [0-9 Pattern]"><img src="<?php echo $demo2?>"/></p>
        </div>
        
        <div class="one-third column">
            <h3>Demo 3</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo3'); ?>
            <p data-tip="Custom pattern: Using Array as Dictionary [You can use from DB too!]"><img src="<?php echo $demo3?>"/></p>
        </div>
        
        <div class="one-third column">
            <h3>Demo 4</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo4'); ?>
            <p data-tip="Default pattern & Changing Font [a-zA-Z0-9]"><img src="<?php echo $demo4?>"/></p>
        </div>
             
        <div class="one-third column">
            <h3>Demo 5</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo5'); ?>
            <p data-tip="Default pattern & Changing Font [a-zA-Z0-9]"><img src="<?php echo $demo5?>"/></p>
        </div>    
        
        <div class="one-third column">
            <h3>Demo 6</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo6'); ?>
            <p data-tip="Custom Dictionary: Iliad by Homer [Made from book W/Dictionary Maker!]"><img src="<?php echo $demo6?>"/></p>
        </div>
        
        <div class="one-third column">
            <h3>Demo 7</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo7'); ?>
            <p data-tip="Custom Dictionary: Alice in Wonderland [Made from book W/Dictionary Maker!]"><img src="<?php echo $demo7?>"/></p>
        </div>
             
        <div class="one-third column">
            <h3>Demo 8</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo8'); ?>
            <p data-tip="Using Font Wave"><img src="<?php echo $demo8?>"/></p>
        </div>    
        
        <div class="one-third column">
            <h3>Demo 9</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo9'); ?>
            <p data-tip="Custom Pattern [0-1]"><img src="<?php echo $demo9?>"/></p>
        </div>
        
        <div class="one-third column">
            <h3>Demo 10</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo10'); ?>
            <p data-tip="Custom Dictionary, Solid color and QrCode"><img src="<?php echo $demo10?>"/><img src="<?php echo $demo10_qr?>"/></p>
        </div>
             
        <div class="one-third column">
            <h3>Demo 11</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo11'); ?>
            <p data-tip="Custom Dictionary, Custom size, Font and Bg Wave, and QrCode"><img src="<?php echo $demo11?>"/><br /><img src="<?php echo $demo11_qr?>"/></p>
        </div>    
        
        <div class="one-third column">
            <h3>Demo 12</h3><strong>Challenge:</strong> <?php echo $captcha->challenge('demo12'); ?>
            <p data-tip="Custom Dictionary (array),Custom bg, Color, FontWave, and QrCode"><img src="<?php echo $demo12?>"/><img src="<?php echo $demo12_qr?>"/></p>
        </div>        
            
        <hr />
    </div><!-- container -->
</body>
</html>
Онлайн: 1
Реклама