Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="homebx01 clearfix ani-1">
- <div class="homebxhead clearfix">
- <div class="bxicon homebxicon01"></div>
- <div class="bxheadtxt">Category name</strong></div>
- </div>
- <div class="cl"></div>
- <div class="homebxbody clearfix">
- <ul class="bxulsty">
- <li class="clearfix"><span></span> <strong>Category Description</strong></li>
- </ul>
- </div>
- <div class="cl"></div>
- <a class="morebt clearfix" href="#">Link to particular Categories post.</a>
- </div>
- <div class="homebx01 clearfix ani-1">
- <div class="homebxhead clearfix">
- <div class="bxicon homebxicon01"></div>
- <div class="bxheadtxt">Category name</strong></div>
- </div>
- <div class="cl"></div>
- <div class="homebxbody clearfix">
- <ul class="bxulsty">
- <li class="clearfix"><span></span> <strong>Category Description</strong></li>
- </ul>
- </div>
- <div class="cl"></div>
- <a class="morebt clearfix" href="#">Link to particular Categories post.</a>
- </div>
- <div class="homebx01 clearfix ani-1">
- <div class="homebxhead clearfix">
- <div class="bxicon homebxicon01"></div>
- <div class="bxheadtxt">Category name</strong></div>
- </div>
- <div class="cl"></div>
- <div class="homebxbody clearfix">
- <ul class="bxulsty">
- <li class="clearfix"><span></span> <strong>Category Description</strong></li>
- </ul>
- </div>
- <div class="cl"></div>
- <a class="morebt clearfix" href="#">Link to particular Categories post.</a>
- </div>
- function wpse_143641_homebox_shortcode( $atts ) {
- return <<<HOMEBOX
- <div class="homebx01 clearfix ani-1">
- <div class="homebxhead clearfix">
- <div class="bxicon homebxicon01"></div>
- <div class="bxheadtxt">Category name</strong></div>
- </div>
- <div class="cl"></div>
- <div class="homebxbody clearfix">
- <ul class="bxulsty">
- <li class="clearfix"><span></span> <strong>Category Description</strong></li>
- </ul>
- </div>
- <div class="cl"></div>
- <a class="morebt clearfix" href="#">Link to particular Categories post.</a>
- </div>
- <div class="homebx01 clearfix ani-1">
- <div class="homebxhead clearfix">
- <div class="bxicon homebxicon01"></div>
- <div class="bxheadtxt">Category name</strong></div>
- </div>
- <div class="cl"></div>
- <div class="homebxbody clearfix">
- <ul class="bxulsty">
- <li class="clearfix"><span></span> <strong>Category Description</strong></li>
- </ul>
- </div>
- <div class="cl"></div>
- <a class="morebt clearfix" href="#">Link to particular Categories post.</a>
- </div>
- <div class="homebx01 clearfix ani-1">
- <div class="homebxhead clearfix">
- <div class="bxicon homebxicon01"></div>
- <div class="bxheadtxt">Category name</strong></div>
- </div>
- <div class="cl"></div>
- <div class="homebxbody clearfix">
- <ul class="bxulsty">
- <li class="clearfix"><span></span> <strong>Category Description</strong></li>
- </ul>
- </div>
- <div class="cl"></div>
- <a class="morebt clearfix" href="#">Link to particular Categories post.</a>
- </div>
- HOMEBOX;
- }
- add_shortcode( 'homebox', 'wpse_143641_homebox_shortcode' );
- <span style="color:red">Please fill all mandatory fields.</span>
- <br/>
- <br/>
- <?php } ?>
- <form action="<?php echo $action; ?>" method="post" name="payuForm">
- <input type="hidden" name="key" value="<?php echo $MERCHANT_KEY ?>" />
- <input type="hidden" name="hash" value="<?php echo $hash ?>"/>
- <input type="hidden" name="txnid" value="<?php echo $txnid ?>" />
- <table>
- <tr>
- <td><b>Mandatory Parameters</b></td>
- </tr>
- <tr>
- <td>Amount: </td>
- <td><input name="amount" value="<?php echo (empty($posted['amount'])) ? '' : $posted['amount'] ?>" /></td>
- <td>First Name: </td>
- <td><input name="firstname" id="firstname" value="<?php echo (empty($posted['firstname'])) ? '' : $posted['firstname']; ?>" /></td>
- </tr>
- <tr>
- <td>Email: </td>
- <td><input name="email" id="email" value="<?php echo (empty($posted['email'])) ? '' : $posted['email']; ?>" /></td>
- <td>Phone: </td>
- <td><input name="phone" value="<?php echo (empty($posted['phone'])) ? '' : $posted['phone']; ?>" /></td>
- </tr>
- <tr>
- <td>Product Info: </td>
- <td colspan="3"><textarea name="productinfo"><?php echo (empty($posted['productinfo'])) ? '' : $posted['productinfo'] ?></textarea></td>
- </tr>
- <tr>
- <td>Success URI: </td>
- <td colspan="3"><input name="surl" value="<?php echo (empty($posted['surl'])) ? '' : $posted['surl'] ?>" size="64" /></td>
- </tr>
- <tr>
- <td>Failure URI: </td>
- <td colspan="3"><input name="furl" value="<?php echo (empty($posted['furl'])) ? '' : $posted['furl'] ?>" size="64" /></td>
- </tr>
- <tr>
- <td colspan="3"><input type="hidden" name="service_provider" value="payu_paisa" size="64" /></td>
- </tr>
- <tr>
- <td><b>Optional Parameters</b></td>
- </tr>
- <tr>
- <td>Last Name: </td>
- <td><input name="lastname" id="lastname" value="<?php echo (empty($posted['lastname'])) ? '' : $posted['lastname']; ?>" /></td>
- <td>Cancel URI: </td>
- <td><input name="curl" value="" /></td>
- </tr>
- <tr>
- <td>Address1: </td>
- <td><input name="address1" value="<?php echo (empty($posted['address1'])) ? '' : $posted['address1']; ?>" /></td>
- <td>Address2: </td>
- <td><input name="address2" value="<?php echo (empty($posted['address2'])) ? '' : $posted['address2']; ?>" /></td>
- </tr>
- <tr>
- <td>City: </td>
- <td><input name="city" value="<?php echo (empty($posted['city'])) ? '' : $posted['city']; ?>" /></td>
- <td>State: </td>
- <td><input name="state" value="<?php echo (empty($posted['state'])) ? '' : $posted['state']; ?>" /></td>
- </tr>
- <tr>
- <td>Country: </td>
- <td><input name="country" value="<?php echo (empty($posted['country'])) ? '' : $posted['country']; ?>" /></td>
- <td>Zipcode: </td>
- <td><input name="zipcode" value="<?php echo (empty($posted['zipcode'])) ? '' : $posted['zipcode']; ?>" /></td>
- </tr>
- <tr>
- <td>UDF1: </td>
- <td><input name="udf1" value="<?php echo (empty($posted['udf1'])) ? '' : $posted['udf1']; ?>" /></td>
- <td>UDF2: </td>
- <td><input name="udf2" value="<?php echo (empty($posted['udf2'])) ? '' : $posted['udf2']; ?>" /></td>
- </tr>
- <tr>
- <td>UDF3: </td>
- <td><input name="udf3" value="<?php echo (empty($posted['udf3'])) ? '' : $posted['udf3']; ?>" /></td>
- <td>UDF4: </td>
- <td><input name="udf4" value="<?php echo (empty($posted['udf4'])) ? '' : $posted['udf4']; ?>" /></td>
- </tr>
- <tr>
- <td>UDF5: </td>
- <td><input name="udf5" value="<?php echo (empty($posted['udf5'])) ? '' : $posted['udf5']; ?>" /></td>
- <td>PG: </td>
- <td><input name="pg" value="<?php echo (empty($posted['pg'])) ? '' : $posted['pg']; ?>" /></td>
- </tr>
- <tr>
- <?php if(!$hash) { ?>
- <td colspan="4"><input type="submit" value="Submit" /></td>
- <?php } ?>
- </tr>
- </table>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement