403Webshell
Server IP : 3.96.16.70  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux ip-172-31-26-103.ca-central-1.compute.internal 6.1.163-186.299.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Feb 24 16:35:42 UTC 2026 x86_64
User : ec2-user ( 1000)
PHP Version : 8.4.18
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/dumpchup.ca/behaviour-taco-bell/app/Form-Builder/Examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/dumpchup.ca/behaviour-taco-bell/app/Form-Builder/Examples/add-html.php
<?php

session_start();

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

require_once('../Form.php');

$url_split = explode("/Form-Builder", (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]");
$url = $url_split[0];

//echo $url;

$add_html = new Form("add_html", "post", "", "en", "Next", $url);

$add_html->addElements(
	array(
		"firstname" 	=> array("half", "left"),
		"lastname" 		=> array("half", "right"),
		"email_address"	=> array("full"),
		"opinion"		=> array("full"),
		"newsletter"	=> array("full"),
		"waiver" 		=> array("full")
	)
);

$add_html->setRequired(
	array(
		"firstname" 	=> true,
		"lastname" 		=> true,
		"email_address"	=> true,
		"opinion"		=> true,
		"newsletter"	=> false,
		"waiver" 		=> true
	)
);

$add_html->useFakeCheckboxes(true);
$add_html->useFakeRadioButtons(true);

$add_html->addBeforeHTML(
	array(
		"firstname"	=> "<h3>Personal Information</h3>",
		"opinion" 	=> "<div>Please Answer the below questions:<hr></div>"
	)
);
	
$add_html->addAfterHTML(
	array(
		"waiver"	=> "<hr>"
	)
);

?>

<!doctype html>
<html>

    <head>
        <meta charset="UTF-8">
        <title>Using the addBeforeHTML and addAfterHTML</title>
        <script type="text/javascript" language="javascript" src="../JS/jquery-1.11.3.min.js" /></script>
    </head>

    <body style="max-width: 800px">
    
        <?php 
		if (isset($_POST) && count($_POST) > 0) {
			echo '<h2>Post Values</h2>';
			echo '<pre>';
			var_dump($_POST);
			echo '</pre>';
		}
		?>
        
        <h1>Using the addBeforeHTML and addAfterHTML</h1>
        <?php $add_html->buildForm(); ?>
    
    </body>
    
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit