المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : لعبة ستجعلك تشك بوجود جنى بجوارك


النصل القاطع
23-07-2011, 02:24 AM
هذه من أغرب الألعاب التى رأيتها فى حياتى
فكر فى أى شخصية
http://www.m5zny.com/upfiles/2hw20009.jpg
و سيسألك الجنى أكيناتور عنها بضعة أسئلة بعدها سيحضر لك صورة الشخصية التى فكرت فيها
اللعبة فى موقع و تلعب أون لاين من خلال الموقع

http://ar.akinator.com/

خبرونى برأيكم :abc_152: :abc_152: :abc_152: :abc_152:

بصراحة تحيرت و أريد التفسير من عضو ذكى مثل العضو [you]
فلقد لاحظت ذلك من طريقة الردود

فلو سمحت أخى ا[you] لو تكرمت تبحث لى عن سر هذه اللعبة ضرورى لو لم يكن ذلك يزعجك
و تخبرنى بالنتيجة
أرجو أن تعجبكم اللعبة. سلامى لكم و أجمل الأمنيات لك [you]

http://ar.akinator.com

أبو يوسف
23-07-2011, 06:35 PM
عزيزي : -

طبيعة الأسئلة هي من تدله عليك

هذا ليس جني ولا يعلم بالغيب بل هي معطيات

وضعت شخصية برأسي ولم يعرفها حتى طلب مني تسميتها وما يميزها

.

النصل القاطع
23-07-2011, 09:42 PM
أخى أبو يوسف
أنا جربت معه 10 شخصيات و لم يخفق أبدا

و من ضمن الشخصيات أنا و عرفنى
فقط عندما يخطئ وافق على الأسئلة الإضافية

ومن أسرار جمال هذه اللعبة أنها تتعلم من الجميع
فالشخصية التى كتبتها سجلت عنده
فلو لعبت مرة أخرى فسيعرفها

نورت الموضوع بمرورك

abohmam
09-08-2011, 03:39 PM
شـكــ وبارك الله فيك ـــرا لك

هذا الأمر يعتمد على قاعدة بيانات مسجل بها أغلب بيانات ومعلومات عن الشخصيات التى يمكن ان يتم السؤال عنها

لكن فعلا فكرة جيدة وقد اصاب معى فى حالة واخطأ فى أخرى

النصل القاطع
18-08-2011, 10:51 PM
طبعا هى قاعدة بيانات
أنا أشك بوجود الجنى فى الألجوريثم الخاص بالإستخلاص من القاعدة
مثل السحر

شرف لى مرورك أخى أبو همام :abc_152:

أبو الوليد
19-08-2011, 04:40 AM
هذه من أغرب الألعاب التى رأيتها فى حياتى
فكر فى أى شخصية
http://www.m5zny.com/upfiles/2hw20009.jpg
و سيسألك الجنى أكيناتور عنها بضعة أسئلة بعدها سيحضر لك صورة الشخصية التى فكرت فيها
اللعبة فى موقع و تلعب أون لاين من خلال الموقع

http://ar.akinator.com/

خبرونى برأيكم :abc_152: :abc_152: :abc_152: :abc_152:

بصراحة تحيرت و أريد التفسير من عضو ذكى مثل العضو أبو الوليد
فلقد لاحظت ذلك من طريقة الردود

فلو سمحت أخى اأبو الوليد لو تكرمت تبحث لى عن سر هذه اللعبة ضرورى لو لم يكن ذلك يزعجك
و تخبرنى بالنتيجة
أرجو أن تعجبكم اللعبة. سلامى لكم و أجمل الأمنيات لك أبو الوليد

http://ar.akinator.com

حياك الله أخي النصل القاطع :abc_022:

والله لست بما وصفتني به أخي الحبيب ، فأنا والذكاء متناقضين تماما :abc_088:

وأعتذر لعدم حضوري أول طرح الموضوع لأني لم أتنبّه لذلك

ثم إني قد جربت اللعبة أخي الفاضل ، وهي ليست إلا معطيات مخزّنة وذلك من خلال قراءة الأيبي الخاص بك ، ثم الإستدلال بما قد يكون في الموقع من تخمينات قد تطرأ على ذهنك ارتباطا بشخصيات في بلدك أو بجوارك ، وعلى كل حال فقد أخطأ معي في أكثر من ثلاث شخصيات خمّنتها بكل معطياتها :abc_051: فليس هناك وجود لأي جني

النصل القاطع
19-08-2011, 05:03 AM
نعم أخى ليس جنيا
فقط كان تشبيه مجازى
شكرا للتوضيح الخاص ب ip
فلم أكن أدركه

و بالنسبة لتأخرك بالرد فلا مشاكل :abc_051:

و ما ذكرته فى ردك أكد ما ذكرته لك فى مشاركتى الأولى
أنه ما يجيبها إلا رجالها و أن رأى [you] هو الفيصل
كل عام و أنت بخير أخى أبو الوليد :abc_051:

علي أكادير
19-08-2011, 08:33 AM
شـكــ ـــرا وبارك الله فيك

هذا الأمر يعتمد على قاعدة بيانات مسجل بها أغلب بيانات ومعلومات عن الشخصيات التى يمكن ان يتم السؤال عنها
ونظامها يعمل بواسطة java script
وهذه بعض أكوادها

function correctPNG(img)
{
if (navigator.appName=="Microsoft Internet Explorer")
{
var imgID = (img.id) ? "id='" + img.id + "' " : ""
var imgClass = (img.className) ? "class='" + img.className + "' " : ""
var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
var imgStyle = "display:inline-block;" + img.style.cssText
if (img.align == "left") imgStyle = "float:left;" + imgStyle
if (img.align == "right") imgStyle = "float:right;" + imgStyle
if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
var strNewHTML = "<span " + imgID + imgClass + imgTitle
+ " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
+ "filter:progid:DXImageTransform.Microsoft.AlphaImag eLoader"
+ "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
img.outerHTML = strNewHTML;
}
}


//Script permettant d'utiliser la couche alpha sous IE
function correctAllPNG()
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i];
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
{
correctPNG(img);
i = i-1;
}
}
}

if (navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion.substring(0,1)) <= 6) window.attachEvent("onload", correctAllPNG);


function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}


function MM_preloadImages() { //v3.0
var d=document;
if(d.images)
{
if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0)
{
d.MM_p[j]=new Image;
d.MM_p[j].src=a[i];
j++;
}
}
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
//alert("icic");
var i,j=0,x,a=MM_swapImage.arguments;
document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
//alert("ici");
if ((x=MM_findObj(a[i]))!=null){
document.MM_sr[j++]=x;
if(!x.oSrc) x.oSrc=x.src;
x.src=a[i+2];
}
}

//-->
-----------------------------------------------------------------------------
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
var version;
var axo;
var e;

// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

try {
// version will be set for 7.X or greater players
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {
}

if (!version)
{
try {
// version will be set for 6.X players only
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");

// installed player is some revision of 6.0
// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
// so we have to be careful.

// default to the first public version
version = "WIN 6,0,21,0";

// throws if AllowScripAccess does not exist (introduced in 6.0r47)
axo.AllowScriptAccess = "always";

// safe to call for 6.0r47 or greater
version = axo.GetVariable("$version");

} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 4.X or 5.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 3.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 2.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = -1;
}
}

return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
// NS/Opera version >= 3 check for Flash plugin in plugin array
var flashVer = -1;

if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
var descArray = flashDescription.split(" ");
var tempArrayMajor = descArray[2].split(".");
var versionMajor = tempArrayMajor[0];
var versionMinor = tempArrayMajor[1];
var versionRevision = descArray[3];
if (versionRevision == "") {
versionRevision = descArray[4];
}
if (versionRevision[0] == "d") {
versionRevision = versionRevision.substring(1);
} else if (versionRevision[0] == "r") {
versionRevision = versionRevision.substring(1);
if (versionRevision.indexOf("d") > 0) {
versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
}
}
var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
}
}
// MSN/WebTV 2.6 supports Flash 4
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
// WebTV 2.5 supports Flash 3
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();
}
return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
versionStr = GetSwfVer();
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
// Given "WIN 2,0,0,11"
tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
tempString = tempArray[1]; // "2,0,0,11"
versionArray = tempString.split(","); // ['2', '0', '0', '11']
} else {
versionArray = versionStr.split(".");
}
var versionMajor = versionArray[0];
var versionMinor = versionArray[1];
var versionRevision = versionArray[2];

// is the major.revision >= requested major.revision AND the minor version >= requested minor
if (versionMajor > parseFloat(reqMajorVer)) {
return true;
} else if (versionMajor == parseFloat(reqMajorVer)) {
if (versionMinor > parseFloat(reqMinorVer))
return true;
else if (versionMinor == parseFloat(reqMinorVer)) {
if (versionRevision >= parseFloat(reqRevision))
return true;
}
}
return false;
}
}

function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '';
if (isIE && isWin && !isOpera)
{
str += '<object ';
for (var i in objAttrs)
{
str += i + '="' + objAttrs[i] + '" ';
}
str += '>';
for (var i in params)
{
str += '<param name="' + i + '" value="' + params[i] + '" /> ';
}
str += '</object>';
}
else
{
str += '<embed ';
for (var i in embedAttrs)
{
str += i + '="' + embedAttrs[i] + '" ';
}
str += '> </embed>';
}

document.write(str);
}

function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
var ret =
AC_GetArgs
( arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();

switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblClick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
case "id":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}
------------------------------------------------------------------------------
// variables communes au fonctionnement

var MODE_INI=0;
var MODE_ACCUEIL=1;
var MODE_QUESTION=2;
var MODE_PHOTO=3;
var MODE_LISTE_PERSO=4;
var MODE_RAPPORT=5;

var MODE_AJOUT_PHOTO=6;
var MODE_FIN_PARTIE=7;
var MODE_SOUND_LIKE=8;
var MODE_INFO_JOUEUR=9;
var MODE_PROMO_MOBILE=10;

var divs;
var dispo; // tableau de n_modes
var etape_proposition = -1;
var attitude_courante = "aki_defi";
var mode = MODE_INI;
var flagEnCours=0;
var n_partie;
var signature;
var age = -1;
var sexe = "I";
var email = "";
var remember= 0;
var email_sent = 0;
var valide_play = 1;
var engine=-1;
var engine_partie=-1;
var nqp=0;
var bascule_accueil_done=0;
var timeouter;
var numMessageAccueil=1;

//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// fonctions communes au du fonctionnement
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

// Gestion des modes d'affichages
function init()
{

divs = [ document.getElementById("aki_defi"),
document.getElementById("petite_bulle"),
document.getElementById("reponse"),
document.getElementById("historique"),
document.getElementById("sous_bulle"),
document.getElementById("photo"),
document.getElementById("haut"),
document.getElementById("bas"),
document.getElementById("haut_et_bas"),
document.getElementById("menu_fin_partie"),
document.getElementById("maximal"),
document.getElementById("joueur"),
document.getElementById("promomobile")
];

dispo = [// AKI BUL REP HIS SBU PHO HAU BAS HEB FIN MAX INF MOB
[ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,0], // mode initial
[ 1 , 1 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,0], // mode accueil
[ 1 , 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,0], // mode question
[ 1 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 ,0], // mode photo
[ 1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,0], // mode liste perso
[ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 0 , 0 ,0], // mode rapport
[ 0 , 0 , 0 , 0 , 0 , 0 , 1 , 1 , 0 , 1 , 0 , 0 ,0], // mode ajout photo
[ 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 ,0], // mode fin partie
[ 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 ,0], // mode sound like
[ 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 ,0], // mode info joueur
[ 1 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ,1] // mode promo mobile
];

frame_petite_bulle.document.body.style.textAlign="center";
frame_petite_bulle.document.body.style.font="22px \"Tahoma\",\"Verdana\"";
frame_petite_bulle.document.body.style.backgroundC olor="transparent";
mode_accueil();
//tailleDivs();
setTimeout("charge_attitudes();",2000);
}

function HTMLentities(texte) {

texte = texte.replace(/"/g,' '); // 34 22
texte = texte.replace(/&/g,' '); // 38 26
texte = texte.replace(/\'/g,' '); // 39 27
texte = texte.replace(/</g,' '); // 60 3C
texte = texte.replace(/>/g,' '); // 62 3E
return texte;
}


function change_mode(new_mode)
{
//alert ("nouveau mode "+new_mode);
if (mode==new_mode)
return;

var dispo_old = dispo[mode];
var dispo_new = dispo[new_mode];
var i;

for (i=0;i<divs.length;i++)
{
if ((dispo_old[i]==0) && (dispo_new[i]==1))
divs[i].style.visibility="visible";
else if ((dispo_old[i]==1) && (dispo_new[i]==0))
divs[i].style.visibility="hidden";
}

mode=new_mode;
}

function bascule_accueil()
{
bascule_accueil_done=1;

if(mode==MODE_ACCUEIL)
{
numMessageAccueil=(numMessageAccueil+1)%2;
switch(numMessageAccueil)
{
case 0:
message_bulle(message_accueil);
break;
case 1:
message_bulle(message_accueil2);
break;
}

timeouter=setTimeout("bascule_accueil()",5000);
}
}

/*function stop_bascule_accueil()
{
clearTimeout(timeouter);
}*/

function mode_accueil()
{

change_mode(MODE_ACCUEIL);
message_bulle(message_accueil);

changeAki("aki_defi");

}




function mode_promo_mobile()
{
document.getElementById("promomobile").style.zIndex=12;
changeAki("aki_mobile");
message_bulle(message_promo);
frame_promo.document.location.href="promo_mobile.html";
change_mode(MODE_PROMO_MOBILE);


}


function mode_partie()
{
// stop_bascule_accueil();
document.getElementById("petite_bulle").style.zIndex=5;
change_mode(MODE_QUESTION);
}



// chargement des attitudes d'akinator dans les DIV supperposées
function charge_attitudes()
{
document.getElementById("image_serein").src="imgs/attitudes/akinator_2_serein.png";
document.getElementById("image_concentration_intense").src="imgs/attitudes/akinator_3_concentration_intense.png";
document.getElementById("image_inspiration_legere").src="imgs/attitudes/akinator_4_inspiration_legere.png";
document.getElementById("image_inspiration_forte").src="imgs/attitudes/akinator_5_inspiration_forte.png";
document.getElementById("image_leger_decouragement").src="imgs/attitudes/akinator_7_leger_decouragement.png";
document.getElementById("image_vrai_decouragement").src="imgs/attitudes/akinator_8_vrai_decouragement.png";
document.getElementById("image_confiant").src="imgs/attitudes/akinator_9_confiant.png";
document.getElementById("image_triomphe").src="imgs/attitudes/akinator_10_triomphe.png";
document.getElementById("image_deception").src="imgs/attitudes/akinator_11_deception.png";
document.getElementById("image_etonnement").src="imgs/attitudes/akinator_6_etonnement.png";
document.getElementById("image_pianote").src="imgs/attitudes/akinator_mobile.png";
}


//Modif attitude Aki
function changeAki(attitude)
{

if (attitude_courante!=attitude)
{
document.getElementById(attitude).style.visibility =divs[0].style.visibility;
divs[0].style.visibility='hidden';

divs[0]=document.getElementById(attitude);
attitude_courante=attitude;
}
}


//message dans la bulle
function message_bulle(message)
{
frame_petite_bulle.document.body.innerHTML="<TABLE width='100%' height='100%'><tr><td valign='middle' align='center' style='font:20px \"Verdana\",\"Bitstream Vera Sans\"' dir='LTR'>"+message+"</td></tr></table>";
}


//lance partie
function demarrer_partie()
{
if (!valide_play)
return;

if (joueur.length <=0)
{
message_bulle(message_indication);
change_mode(MODE_INFO_JOUEUR);
document.getElementById("nom_joueur").focus();
return;
}

if (!(/^[0-9]+$/.test(age)))
{
message_bulle(message_indication);
change_mode(MODE_INFO_JOUEUR);
document.getElementById("age_joueur").focus();
return;
}


// affichage
mode_partie();

message_bulle("");

etape_proposition=-1;

changeAki("aki_serein");

// chargement de la premiere question
if ( flagAutorisePartie ==1)
{
annuleSession();

if (engine!= engine_partie)
{
if (engine==0)
change_libelle_reponse("Oui","Probablement<br>En partie","Ne sais pas","Probablement pas<br>Pas vraiment","Non");
else
change_libelle_reponse("Oui","Généralement<br>Plutôt","Ne sais pas<br>Cela dépend","Rarement<br>Pas vraiment","Non");
engine_partie=engine;
}
frame_petite_bulle.document.location="new_session.php?prio="+oirp+"&joueur="+joueur+"&partner_id="+partner_id+"&age="+age+"&sexe="+sexe+"&email="+email+"&ms="+email_sent+"&remember="+remember+"&engine="+engine;
email_sent = 1;
}
else
message_bulle("Je suis désolé.<br>Vous êtes vraiment trop nombreux à jouer.<br>Essayez à nouveau dans quelques minutes SVP");
}


// modifie l'attitude d'AKi et propose un perso
function charge_photo(url_photo,id_item,nom,desc,confiance, nqp)
{
if (confiance == 2)
changeAki("aki_confiant");
else
if (confiance==1)
changeAki("aki_inspiration_legere");
else
changeAki("aki_leger_decouragement");

etape_proposition=nqp;
frame_photo.document.body.innerHTML="";
frame_photo.document.location.href="charge_photo.php?signature="+signature+"&partie="+n_partie+"&photo="+url_photo+"&id="+id_item+"&nom="+nom+"&desc="+desc+"&nqp="+nqp+"&engine="+engine_partie;
}

// afficher l'accueil
function afficher_accueil()
{
if (valide_play)
{
mode_accueil();
histo.document.location="dernieres_parties.php?engine="+engine+"&prio="+oirp+"&age="+age;
}
}

// choix du perso affiché
function accepte_perso(id,nom,desc,pathPhoto)
{
change_mode(MODE_FIN_PARTIE);
changeAki("aki_triomphe");
message_bulle(message_victoire);
frame_menu_fin_partie.document.location="valide_perso.php?path_photo="+encodeURIComponent(pathPhoto)+"&prio="+oirp+"&partie="+n_partie+"&signature="+signature+"&choix="+id+"&first=1&nom="+encodeURIComponent(nom)+"&desc="+encodeURIComponent(desc)+"&engine="+engine_partie;
flagEnCours=0;
}

//choix perso dans la liste
function accepte_liste(id,nom,desc,pathPhoto)
{
message_bulle(message_liste);
change_mode(MODE_FIN_PARTIE);
frame_menu_fin_partie.document.location="valide_perso.php?path_photo="+encodeURIComponent(pathPhoto)+"&prio="+oirp+"&partie="+n_partie+"&signature="+signature+"&choix="+id+"&first=0&nom="+encodeURIComponent(nom)+"&desc="+encodeURIComponent(desc)+"&engine="+engine_partie;
flagEnCours=0;
}

//affiche rapport de partie
function affiche_rapport()
{
change_mode(MODE_RAPPORT);
frame_haut_et_bas.document.location="voir_session.php?prio="+oirp+"&n_partie="+n_partie+"&signature="+signature+"&engine="+engine_partie;
}

// refus du perso proposé
function refuse_perso(nqp)
{
change_mode(MODE_FIN_PARTIE);
changeAki("aki_deception");
message_bulle(message_echec);
setTimeout("propose_liste("+nqp+")",3000);
}

// affichage liste best perso
function propose_liste(nqp)
{
change_mode(MODE_SOUND_LIKE);
frame_maximal.document.body.innerHTML="";
frame_maximal.document.location="liste_best.php?prio="+oirp+"&partie="+n_partie+"&signature="+signature+"&nqp="+nqp+"&age=" +age+ "&engine="+engine_partie;
}

// affichage formulaire de contact
function afficheContactForm()
{
frame_maximal.document.body.innerHTML="";
frame_maximal.document.location="contact.php";
}



// plus de question
function continue_partie(nqp)
{
// affichage
change_mode(MODE_QUESTION);

// chargement de la premiere question
frame_petite_bulle.document.location="continue_partie.php?prio="+oirp+"&partie="+n_partie+"&signature="+signature+"&nqp="+nqp+"&age="+age+"&engine="+engine_partie;
}

//passage mode ajout question
function ajouter_question()
{
frame_haut.document.location = "mot_cle_question.php?partie="+n_partie+"&signature="+signature+"&engine="+engine_partie;
change_mode(MODE_AJOUT_PHOTO);
}

// Affichage d'une page hors jeu
function affiche_centre(urlToLoad)
{
if (!valide_play)
return;
// affichage
change_mode(MODE_SOUND_LIKE);

// chargement de la premiere question
frame_maximal.document.body.innerHTML="";
frame_maximal.document.location=urlToLoad;

if (flagRP==1)
parent.rechargePubAffichageCentre();
}

// Affichage comme un rapport
function affiche_comme_rapport(urlToLoad)
{
// affichage
change_mode(MODE_RAPPORT);

frame_haut_et_bas.document.body.innerHTML="";
frame_haut_et_bas.document.location=urlToLoad;
}

//Affichage d'une partie
function visu_partie(id,sign)
{
change_mode(MODE_SOUND_LIKE);
frame_maximal.document.location="voir_session.php?prio="+oirp+"&n_partie="+id+"&signature="+sign+"&retour=1"+"&engine="+engine;
if (flagRP==1)
parent.rechargePubAffichageCentre();
}

// info formulaire stockés en JS
function enregistre_info()
{
joueur = HTMLentities(document.getElementById("nom_joueur").value);

age = HTMLentities(document.getElementById("age_joueur").value);
if (document.getElementById("sexe_f").checked)
sexe="F";
else if (document.getElementById("sexe_m").checked)
sexe="M";


demarrer_partie();
}

// info sessions mémorisées en JS
function commenceSession(part,sign)
{
n_partie=part;
signature=sign;
flagEnCours=1;
nqp=0;
}

// appelé en fin de session
function termineSession()
{
flagEnCours=0;
}

// session annulée car démarrage d'une nouvelle
function annuleSession()
{
if (flagEnCours==1)
{
frame_photo.document.location="annule_session.php?partie="+n_partie+"&signature="+signature+"&engine="+engine_partie;
flagEnCours=0;
}
}

//blocage en cas de saturation
function bloquePartie()
{
flagAutorisePartie=0;
setTimeout("flagAutorisePartie=1",15000);
}

// modification du moteur
function choixEngine(new_engine)
{
if (engine!=new_engine)
{
engine=new_engine;
afficher_accueil();
}
}

function change_libelle_reponse(lib_0,lib_1,lib_2,lib_3,lib _4)
{
document.getElementById("libelle_rep_0").innerHTML=lib_0;
document.getElementById("libelle_rep_1").innerHTML=lib_1;
document.getElementById("libelle_rep_2").innerHTML=lib_2;
document.getElementById("libelle_rep_3").innerHTML=lib_3;
document.getElementById("libelle_rep_4").innerHTML=lib_4;
}

أبو الوليد
19-08-2011, 01:18 PM
نعم أخى ليس جنيا
فقط كان تشبيه مجازى
شكرا للتوضيح الخاص ب ip
فلم أكن أدركه

و بالنسبة لتأخرك بالرد فلا مشاكل :abc_051:

و ما ذكرته فى ردك أكد ما ذكرته لك فى مشاركتى الأولى
أنه ما يجيبها إلا رجالها و أن رأى أبو الوليد هو الفيصل
كل عام و أنت بخير أخى أبو الوليد :abc_051:

كل عام وأنت بألف خير يا طيب :abc_152: والشكر موصول للأخ علي على التوضيح

النصل القاطع
21-08-2011, 12:29 AM
فعلا كلام سليم


و تحية خاصة و كبيرة جدا لك يا [you] خصوصا أننى الآن أراك تقرأ الموضوع
و كل عام و أنتم جميعا بكل الخير
سلامى للجميع

البغرامي
21-08-2011, 06:19 PM
قل لي : آه لقد غلبتني :abc_051:

النصل القاطع
21-08-2011, 11:01 PM
قل لي : آه لقد غلبتني :abc_051:

لقد غلبتني :abc_051:

البغرامي
21-08-2011, 11:28 PM
لالآ ، الجنـي تبعك هو اللي قالها .. :abc_050:
انت تسلم ايدك :abc_152:

أبوحفص
22-08-2011, 01:38 AM
فعلا كلام سليم


و تحية خاصة و كبيرة جدا لك يا أبوحفص خصوصا أننى الآن أراك تقرأ الموضوع
و كل عام و أنتم جميعا بكل الخير
سلامى للجميع

حياك الله أخي الكريم أضيف رأي إالى آراء الإخوة الكرام في أنا الموقع يحتوي على بيانات خاصة بكل من يتصفحه ولعل أهل الإحتراف يعرفون سر ذلك

أعتذررررررررررررررررررررر ررررررررررر كثييييييييييييييييييييييي ييييييييرا عن عدم الإنتباه فقد ضعفت متابعتي قليلا في شهر الصيام عن متابعة كل المواضيع لضيق الوقت وكثرة الواجبات

:abc_025: :abc_025: :abc_025:

البغرامي
22-08-2011, 02:38 AM
معقول الاستاذ ابو حفص وقع في الفخ !! :abc_051:

لا تقولها لي :abc_085:

النصل القاطع
23-08-2011, 03:55 AM
معقول الاستاذ ابو حفص وقع في الفخ !! :abc_051:

لا تقولها لي :abc_085:

ههههههههه
أخى ابو حفص
أخى البغرامى يريد يوقع بيننا ههههههه لكن هيهات
باقة زهر:abc_152: لك استاذى ابوحفص
و ان كنت وقعت بالفخ كما قال اخى البغرامى
فسامحنى نحن نمزح و لا نقصد شيئ
و يكفى ان تلك المزحة عرفتنى بشخصية محبوبة مثلك
و كل عام و انت بكل الخير

أبوحفص
23-08-2011, 02:25 PM
:abc_156: :abc_156: :abc_156: :abc_156: :abc_156: :abc_156::abc_025:

النصل القاطع
23-08-2011, 09:26 PM
أنا الآن أتصفح الموضوع و رأيتك [you] تتصفح الموضوع معى
لو لم يكن يزعجك هل يمكن أن تجيبنى على هذا السؤال

ما هو أفضل برنامج لتصميم الصور فى رأيك ؟؟؟