این هم متن سورس برای نمایش آسان
<center>
<title>.:: RoboDanesh.ir ::. All Open Source</title>
<h1>RoboDanesh</h1>
<?php
echo '<form action="robo.php" method="post">
<input type="text" name="soal">
<input type="submit" name="sb" value="javab bede">
</form>';
echo "Pasokh:-> ";
switch($_POST['soal'])
{
//a
case 'ahle kojayi?':echo "man iraniam";break;
//b
case 'bye':echo "good bye";break;
//c
case 'che khabar?':
case 'che khabara?':
case 'che khabar' :
case 'che khabara':echo "salamati. khabare khassi nist.";break;
//d
//e
case 'esmet chie?':
case 'esme shoma chie?':echo "esme man robodaneshe.";break;
//f
case 'football':echo "be football alaghe dari?";break;
//g
case 'ghaza chi khordi?':echo "robatha ghaza nemikhorand";break;
//h
case 'halet chetoore?':echo "shokr zendeiim.";break;
//i
case 'ino didi?':echo "kodoomo ?";break;
//j
case 'joorab pate?':echo "na pol nadashtam bekharam";break;
//k
case 'khoobi':
case 'khobi':echo "man bad nistam shoma chetori?";break;
//l
case 'leili mard bood ya zan?':echo "to chi fekr mikoni?";break;
//m
case 'man ham khoobam':
case 'manam khobam' :
case 'man ham khobam' :echo "khoda ra shokr";break;
//n
case 'noon barbari dost dari?':echo "are kheili";break;
//o
//p
//q
//r
//s
case 'salam':echo "salam aleikom";break;
//t
//u
//v
//w
//x
//y
//z
default: echo "soale(".$_POST['soal'].") ra motavajeh nashodam !!?";
}
?>
<h6><a href='http://www.robodanesh.ir'>Powered By RoboDanesh</href></h6>
</center>
|