Skip to content

Instantly share code, notes, and snippets.

@robinliujm
robinliujm / dropzone.css
Last active March 12, 2017 19:45
/styles/dropzone.css
/*-----------Accordion---------------- */
.order-process .panel-title a{
font-size:24px;
text-transform:uppercase;
color:#1c3f70;
width:100%;
float:left;
padding:10px 0px;
@robinliujm
robinliujm / create_order.php
Last active March 12, 2017 20:13
includes/create_order.php
<div id="services-icon">
<div class="container">
<div class=" ">
<hr>
<div class="row order-process">
<form class="" id="order-form" action="" enctype="multipart/form-data" method="post" novalidate="novalidate">
<div class="col-md-9">
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<?php $CI->load->model('order_model');
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
<a> Step 4 </a>
</h4>
</div>
<?php //echo '<pre>'; print_r($information_data); echo '</pre>';?>
<div id="steptwo" class="panel-collapse" role="tabpanel"
aria-labelledby="headingTwo">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingThree">
<h4 class="panel-title">
<a> Step 2</a>
</h4>
</div>
<div id="stepthree" class="panel-collapse" role="tabpanel"
aria-labelledby="headingThree">
<div class="panel-body">
<p class="upload-sketch">DRAW OPTIONS</p>
<div class="col-md-3">
<div class="drop-right <?php echo $is_sticky?>" style="top: 85px;">
<p class="fee-summery">FEE SUMMERY</p>
<div class="cart fee-list">
<span class="fee-text">Base Price</span> <i class="fa arrow fee-text">$<span
id="base_price"><?php echo BASE_PRICE?></span></i> <br> <span class="fee-text">Preferences</span>
<i class="fa arrow fee-text">$<span id="preferences_price">
<?php
$preferences = $preference_price;
echo $preferences;
@robinliujm
robinliujm / create_order.php
Created March 11, 2017 23:16
pages/create_order.php
<!DOCTYPE html>
<html lang="en">
<head>
<title>Online Order your Floor Plan and get it in 24 hours</title>
<meta name="author" content="Robin Liu">
<meta name="description" content="1:upload your sketch. 2: set preferences. 3: select draw options. 4: fillup your information. 5: download your plan in 24 hours">
<meta name="keywords" content="upload your sketch, select draw options, download your floor plan">
<meta property="og:type" content="article" />
<meta property="og:title" content="Online Order your Floor Plan and get it in 24 hours" />
<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("PasswordHash.php");
class Common
{
public function nohtml($message)
{
$(document).ready(function(){
var addedRoomPrice = 0;
var paypal_percentage = 4;
$(window).on('scroll', function () {
var top = $(document).scrollTop();
if (top > 10) {
$('.drop-right').addClass('sticky');
/*
*
* More info at [www.dropzonejs.com](http://www.dropzonejs.com)
*
* Copyright (c) 2012, Matias Meno
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
<!DOCTYPE html>
<html lang="en">
<head>
<title><?php if(isset($page_title)) : ?><?php echo $page_title ?> - <?php endif; ?><?php echo $this->settings->info->site_name ?></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php if(isset($page_desc)) : ?>
<meta name="description" content="<?php echo $page_desc ?>">
<?php endif; ?>
<!-- Bootstrap -->