
<title><?php echo $title ?></title>


</head>
<body>
<div id="conteiner">
    <h2><?php echo $page_header ?></h2>
    <div id="body">
        <?php

        echo validation_errors();
        echo form_fieldset('Email');

        $hidden=array('order_time'=>date("Y-m-d H:i:s"),'current_url'=>current_url());

        echo form_open('','',$hidden);


        $data=array(

            'name'=>'email',
            'id'=>'email',
            'value'=>'Type your email here',
            'maxlength'=>'100',
            'size'=>'50',
            'style'=>'width:150px',

        );

        $js='onClick="alert(\'Annoyed yet?\')"';
        echo form_input($data,'',$js);
        echo form_fieldset_close();
        echo '<br/>';
        echo form_fieldset('choose your shirt size (dropdown)');
        $options=array(
            'small' =>'Small shirt',
            'medium' =>'Medium shirt',
            'large' =>'Large shirt',
            'xlarge' =>'Extra Large shirt',
        );


        echo form_dropdown('shirt_size',$options,'large');
        echo form_fieldset();
        echo '<br/>';
        echo form_fieldset('what stripes do you want on your shirt? (multi-select)');
        $preselected=array('black','blue');
        $stripes=array(

            'black'=>'Black stripes',
            'red'=>'Red Stripes',
            'blue'=>'Blue Stripes',
            'green'=>'Green Stripes',
        );


        echo form_dropdown('stripe_choice[]',$stripes,$preselected);
        echo form_fieldset_close();
        echo '<br/>';

        echo form_fieldset('Terms and Conditions');
        echo form_label('Do you agree to our terms and conditions?','terms');
        echo form_checkbox('terms','accept',TRUE);
        echo '<br/>';
        echo form_label('Do you sign your life away?','sign_life');
        $data=array(

            'name'=>'sign_life',
            'id'=>'sign_life',
            'value'=>'accept',
            'checked'=>FALSE

        );

        echo form_checkbox($data);
        echo form_fieldset_close();
        echo '<br/>';
        echo form_fieldset('Do youwant free shipping?');
        echo form_label('Yes','free_shipping'); echo form_radio('free_shipping','1');
        echo form_label('No','free_shipping'); echo form_radio('free_shipping','0',TrUE);
        echo form_fieldset_close();
        echo '<br/>';
        echo form_submit('mysubmit','submitl');
        echo form_close();










        ?>


    </div>

</div>

</body>

</html>