Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
a=3;
b=4;
cout<<a+b;

# Windows image file caches
Thumbs.db
ehthumbs.db
Expand Down
5 changes: 5 additions & 0 deletions add_two numbers
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
///adding two numbers
int a=3;
int b=4;
cout<<a+b;

105 changes: 70 additions & 35 deletions public/cart.php
Original file line number Diff line number Diff line change
@@ -1,35 +1,70 @@
<?php
require_once 'parameters.php';
require_once $dir_model.'initialize.php';

//facebook
$fb_title = "";
$fb_type = "";
$fb_image_url = "";
$fb_url = "";
$fb_description = "";
$fb_admin_userid = "";

//twitter
$tw_card = "";
$tw_url = "";
$tw_title = "";
$tw_description = "";
$tw_image = "";

$meta_description = "Swiftdeal.in is a new effort by a team of DTU sophomores to integrate the social and the economic dynamic of our lives on the internet and bringing them together into a single place . Equipped with a better and ingeniously made search engine that will search stuffs at your place where other people are willing to sell, it's an effort to create a platform for people to make deals with other people whom they may know and care about.";
$meta_keywords = "Welcome to Swiftdeal.in a place to put your offline buisness to online";
$meta_author = "SwiftDeal.in";

if(isset($_GET['add'])){
$_SESSION['cart_'.$_GET['add']] += 1;
}

if(isMobile()){
include $dir_public_mobile.'cart.php';
}elseif(isFacebook()){
include $dir_facebook.'cart.php';
}else{
include $dir_public.'cart.php';
}
?>

<?php

require_once 'parameters.php';

require_once $dir_model.'initialize.php';



//facebook

$fb_title = "";

$fb_type = "";

$fb_image_url = "";

$fb_url = "";

$fb_description = "";

$fb_admin_userid = "";



//twitter

$tw_card = "";

$tw_url = "";

$tw_title = "";

$tw_description = "";

$tw_image = "";



$meta_description = "Swiftdeal.in is a new effort by a team of DTU sophomores to integrate the social and the economic dynamic of our lives on the internet and bringing them together into a single place . Equipped with a better and ingeniously made search engine that will search stuffs at your place where other people are willing to sell, it's an effort to create a platform for people to make deals with other people whom they may know and care about.";

$meta_keywords = "Welcome to Swiftdeal.in a place to put your offline buisness to online";

$meta_author = "SwiftDeal.in";



if(isset($_GET['add'])){

$_SESSION['cart_'.$_GET['add']] += 1;

}



if(isMobile()){

include $dir_public_mobile.'cart.php';

}elseif(isFacebook()){

include $dir_facebook.'cart.php';

}else{

include $dir_public.'cart.php';

}

?>