This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Created on Nov 20, 2012 | |
* | |
* To change the template for this generated file go to | |
* Window - Preferences - PHPeclipse - PHP - Code Templates | |
*/ | |
echo "You entered id : ",$_POST["id"]; | |
echo "<br /> and you want to add ",$_POST["points"]," points to this user ."; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Add new member</title> | |
</head> | |
<body> | |
<form action="add.php" method="post"> | |
user id : <input type="text" name="id" value="Enter the ID here" size="20" /><br /> | |
bonus points : <input type="text" class="text" name="points" value="0" size="3" /><br /> | |
<input type="submit" value="OK" /> <input type="reset" value="Reset" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Created on Nov 20, 2012 | |
* | |
* To change the template for this generated file go to | |
* Window - Preferences - PHPeclipse - PHP - Code Templates | |
*/ | |
echo "You entered id : ",$_POST["id"]; | |
echo "<br /> and you want to add ",$_POST["points"]," points to this user ."; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 3.5.7 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Apr 20, 2013 at 10:41 PM | |
-- Server version: 5.5.30 | |
-- PHP Version: 5.4.13 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QApplication> | |
#include <QLabel> | |
int main(int argc, char *argv[]) | |
{ | |
QApplication a(argc, argv); // inirialize new instance of QtApplication | |
QLabel *label = new QLabel("Hello Qt! "); //create new label widget with initial text value "Hello Qt! " | |
label->setMinimumSize(500,500); // set minimal size for the label ** the label can not be smaller than the specified minimalsize | |
label->show(); // set the label visible as the default value of visible property is false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QApplication> | |
#include <QPushButton> | |
int main(int argc, char *argv[]) | |
{ | |
QApplication app(argc, argv); | |
QPushButton *button = new QPushButton("Quit"); | |
QObject::connect(button, SIGNAL(clicked()),&app, SLOT(quit())); //here is the most important part. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "oventimerwidget.h" | |
#include <QApplication> | |
int main(int argc, char *argv[]) | |
{ | |
QApplication a(argc, argv); | |
OvenTimerWidget w; | |
w.show(); | |
return a.exec(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once $_SERVER['DOCUMENT_ROOT'] . | |
'/includes/helpers.inc.php'; ?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title><?php htmlout($pageTitle); ?></title> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require'DataBasePos.php'; | |
class Adminstration | |
{ | |
public $Admin_Name; | |
public $Admin_Pass; | |
function View_Reports() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use stirct'; | |
function calculator(){ | |
this.ans = 0; | |
var self = this; | |
this.add = add; | |
this.miniz = miniz; | |
this.div = div; |
OlderNewer