Skip to content

Instantly share code, notes, and snippets.

View accessomnath's full-sized avatar
🎯
Focusing

Somnath Mondal accessomnath

🎯
Focusing
View GitHub Profile
<?php
/* template name: real-estate-questionnaire */
get_header();
if(isset($_GET['resp']) && $_GET['resp'] == 'success'){?>
<div class="alert alert-info" role="alert">
<span class="glyphicon glyphicon-exclamation-ok" aria-hidden="true"></span>
<span class="sr-only">Success:</span>
Thank you for contacting Us!
</div>
<?php
<?php
/* template name: business-questionnaire */
get_header();
if(isset($_GET['resp']) && $_GET['resp'] == 'success'){?>
<div class="alert alert-info" role="alert">
<span class="glyphicon glyphicon-exclamation-ok" aria-hidden="true"></span>
<span class="sr-only">Success:</span>
Thank you for contacting Us!
</div>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Title of the document</title>
<script src="js/fabric.min.js" type="text/javascript"></script>
</head>
<body>
<canvas id="o" width="1400" height="800">
<?php
/**
* Created by PhpStorm.
* User: somnath
* Date: 21/6/16
* Time: 7:38 PM
*
* Template Name: registration
*/
get_header();
@accessomnath
accessomnath / chat.php
Last active August 1, 2016 08:04
get online chat using angular
<?php include('header.php') ?>
<div class="container">
<div class="widget widget_volunteer_form">
<div class="well" ng-app="chat" ng-controller="Chat">
<?php if (isset($_SESSION['userid'])) {
$uid = $_SESSION['userid'];
$conQuerry = mysqli_query($conn, "Select * from Ccsbi_Users where UserId='$uid'");
$row = mysqli_fetch_assoc($conQuerry);
$fName = $row['fName'];
<div id="dvData">
<table id="testbed_results" style="width:70%" border="1px solid black">
<tr>
<th>Date</th>
<th>Cutomer ID</th>
<th>Transaction ID</th>
<th>Item ID Purchased</th>
<th>Basic Credits</th>
<th>Bonus Credits</th>
<?php
<?php
/**
* Created by PhpStorm.
* User: somnath
* Date: 21/6/16
* Time: 7:38 PM
*
* Template Name: registration
*/
get_header();
<?PHP
ini_set('max_execution_time', 3000000);
$myZip = file_get_contents("http://104.236.123.247/toptierhealthcare/top.zip");
echo file_put_contents('files.zip', $myZip);
?>
<?php
/**
* Template Name: Register
* Created by PhpStorm.
* User:Somnath
* Date: 9/29/2016
* Time: 9:59 PM
*/
get_header();
<?php
/**
* Template Name: Login
* Created by PhpStorm.
* User: Somnath
* Date: 9/30/2016
* Time: 2:01 AM
*/
if($_POST) {