سيرفرات حرب التتار بجميع انواعها سريع مدفوع x50000 x900000 ذهب مجاني والمزيد
 
الرئيسيةالرئيسية  س .و .جس .و .ج  بحـثبحـث  التسجيلالتسجيل  دخولدخول  

شاطر | .
 

 ملف profile.phtml مفكوك 100%

استعرض الموضوع السابق استعرض الموضوع التالي اذهب الى الأسفل 
كاتب الموضوعرسالة
Admin
المدير العام
المدير العام
avatar

عدد المساهمات : 911
نقاط : 6669
التقييم : 24
تاريخ التسجيل : 31/10/2011
الموقع : http://tatarwar.mam9.com
المزاج : ...

مُساهمةموضوع: ملف profile.phtml مفكوك 100%   الثلاثاء يوليو 16, 2013 8:27 pm

 
الكود:

<?php





require_once( LANG_UI_PATH."profile.php" );

echo "<h1>";

echo LANGUI_PROFILE_T1;

echo "</h1>\r\n";

if ( $this->fullView )

{

    echo "<div id=\"textmenu\">\r\n   <a href=\"profile.php\"";

    if ( $this->selectedTabIndex == 0 )

    {

        echo " class=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T2;

    echo "</a>\r\n | <a href=\"profile.php?t=1\"";

    if ( $this->selectedTabIndex == 1 )

    {

        echo " class=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T3;

    echo "</a>\r\n | <a href=\"profile.php?t=2\"";

    if ( $this->selectedTabIndex == 2 )

    {

        echo " class=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T4;

    echo "</a>\r\n | <a href=\"profile.php?t=3\"";

    if ( $this->selectedTabIndex == 3 )

    {

        echo " class=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T5;

    echo "</a>\r\n";

    if ( $this->data['player_type'] != PLAYERTYPE_TATAR )

    {

        echo " | <a href=\"profile.php?t=4\"";

        if ( $this->selectedTabIndex == 4 )

        {

            echo " class=\"selected\"";

        }

        echo ">";

        echo LANGUI_PROFILE_T6;

        echo "</a>";

    }

    echo "</div>\r\n";

}

echo "\r\n";

if ( $this->selectedTabIndex == 0 )

{

    echo "<s";

    echo "cript type=\"text/javascript\">\r\nfunction getMouseCoords(e) {\r\n\tvar coords = {};\r\n\tif (!e) var e = window.event;\r\n\tif (e.pageX || e.pageY) {\r\n\t\tcoords.x = e.pageX;\r\n\t\tcoords.y = e.pageY;\r\n\t} else if (e.clientX || e.clientY) {\r\n\t\tcoords.x = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;\r\n\t\tcoords.y = e.clientY + document.body.scrollTop + document.documentElement.scrollTop";

    echo ";\r\n\t}\r\n\r\n\treturn coords;\r\n}\r\nfunction med_mouseMoveHandler(e, desc_string) {\r\n\tvar coords = getMouseCoords(e);\r\n\tvar layer = _(\"medal_mouseover\");\r\n\tlayer.style.top = (coords.y + 25) + \"px\";\r\n\tlayer.style.left = (coords.x - 20) + \"px\";\r\n\tlayer.className = \"\";\r\n\tlayer.innerHTML  = desc_string;\r\n}\r\nfunction med_closeDescription(){\r\n\tvar layer = _(\"medal_mouseover\");\r\n\tlayer.className = \"hide\";\r\n}\r\n\r";

    echo "\nlayer = document.createElement(\"div\");\r\nlayer.id = \"medal_mouseover\";\r\nlayer.className = \"hide\";\r\ndocument.body.appendChild(layer);\r\n</script>\r\n\r\n<table id=\"profile\" cellpadding=\"1\" cellspacing=\"1\">\r\n\t<thead>\r\n\t\t<tr><th colspan=\"2\">";

    echo LANGUI_PROFILE_T7;

    echo " ";

    echo $this->profileData['name'];

    echo " ";

    if ( isset( $this->profileData['is_blocked'] ) && $this->profileData['is_blocked'] == 1 )

    {

        "<font color=\"#990000\">".LANGUI_PROFILE_T70."</font>";

    }

    echo "</th></tr>\r\n\t\t<tr>\r\n\t\t\t<td>";

    echo LANGUI_PROFILE_T8;

    echo ":</td>\r\n\t\t\t<td>";

    echo LANGUI_PROFILE_T9;

    echo ":</td>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td class=\"empty\"></td><td class=\"empty\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td class=\"details\">\r\n\t\t\t\t<table cellpadding=\"0\" cellspacing=\"0\">\r\n\t\t\t\t<tbody>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

    echo LANGUI_PROFILE_T10;

    echo ":</th>\r\n\t\t\t\t\t\t<td>";

    echo $this->profileData['rank'];

    echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

    echo LANGUI_PROFILE_T11;

    echo ":</th>\r\n\t\t\t\t\t\t<td>";

    echo constant( "tribe_".$this->profileData['tribe_id'] );

    echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

    echo LANGUI_PROFILE_T12;

    echo ":</th>\r\n\t\t\t\t\t\t<td>";

    if ( 0 < intval( $this->profileData['alliance_id'] ) )

    {

        echo "<a href=\"alliance.php?id=";

        echo $this->profileData['alliance_id'];

        echo "\">";

        echo $this->profileData['alliance_name'];

        echo "</a>";

    }

    else

    {

        echo "-";

    }

    echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

    echo LANGUI_PROFILE_T13;

    echo "</th>\r\n\t\t\t\t\t\t<td>";

    echo $this->villagesCount;

    echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

    echo LANGUI_PROFILE_T14;

    echo ":</th>\r\n\t\t\t\t\t\t<td>";

    echo $this->profileData['total_people_count'];

    echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    if ( 0 < $this->profileData['age'] )

    {

        echo "\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

        echo LANGUI_PROFILE_T15;

        echo ":</th>\r\n\t\t\t\t\t\t<td>";

        echo $this->profileData['age'];

        echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    }

    echo "\t\t\t\t\t";

    if ( 0 < $this->profileData['gender'] )

    {

        echo "\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

        echo LANGUI_PROFILE_T16;

        echo ":</th>\r\n\t\t\t\t\t\t<td>";

        echo $this->profileData['gender'] == 1 ? LANGUI_PROFILE_T17 : LANGUI_PROFILE_T18;

        echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    }

    echo "\t\t\t\t\t";

    if ( $this->profileData['house_name'] != "" )

    {

        echo "\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<th>";

        echo LANGUI_PROFILE_T19;

        echo ":</th>\r\n\t\t\t\t\t\t<td>";

        echo $this->profileData['house_name'];

        echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    }

    echo "\t\t\t\t\t";

    if ( $this->profileData['tribe_id'] != 5 )

    {

        echo "\t\t\t\t\t<tr><td colspan=\"2\" class=\"empty\"></td></tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td colspan=\"2\"> ";

        if ( !$this->player->isAgent )

        {

            if ( $this->fullView )

            {

                echo "<a href=\"profile.php?t=1\">";

                echo LANGUI_PROFILE_T20;

                echo "</a>";

            }

            else

            {

                echo "<a href=\"msg.php?uid=";

                echo $this->profileData['id'];

                echo "\">";

                echo LANGUI_PROFILE_T21;

                echo "</a>";

            }

        }

        echo "</td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    }

    echo "\t\t\t\t\t";

    if ( $this->isAdmin && $this->player->playerId != $this->profileData['id'] )

    {

        echo "\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td colspan=\"2\"><a href=\"profile.php?spy&uid=";

        echo $this->profileData['id'];

        echo "\">";

        echo LANGUI_PROFILE_T22;

        echo "</a></td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    }

    echo "\t\t\t\t\t";

    if ( $this->profileData['tribe_id'] != 5 )

    {

        echo "                    <tr>\r\n\t\t\t\t\t\t<td colspan=\"2\"><a href=\"snprofile.php?uid=";

        echo $this->profileData['id'];

        echo "\">";

        echo LANGUI_PROFILE_T72;

        echo "</a></td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t\t";

    }

    echo "\t\t\t\t\t<tr><td colspan=\"2\" class=\"empty\"></td></tr>\r\n\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t<td colspan=\"2\" class=\"desc2\"><div class=\"desc2div\">";

    echo $this->getProfileDescription( $this->profileData['description2'] );

    echo "</div></td>\r\n\t\t\t\t\t</tr>\r\n\t\t\t\t</tbody>\r\n\t\t\t\t</table>\r\n\t\t\t</td>\r\n\t\t\t<td class=\"desc1\"><div>";

    echo $this->getProfileDescription( $this->profileData['description1'] );

    echo "</div></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<table cellpadding=\"1\" cellspacing=\"1\" id=\"villages\">\r\n\t<thead>\r\n\t<tr><th colspan=\"3\">";

    echo LANGUI_PROFILE_T13;

    echo "</th></tr>\r\n\t<tr>\r\n\t\t<td>";

    echo LANGUI_PROFILE_T23;

    echo "</td>\r\n\t\t<td>";

    echo LANGUI_PROFILE_T14;

    echo "</td>\r\n\t\t<td>";

    echo LANGUI_PROFILE_T24;

    echo "</td>\r\n\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t";

    while ( $this->villages->next( ) )

    {

        echo "\t\t<tr>\r\n\t\t\t<td class=\"nam\"><a href=\"village3.php?id=";

        echo $this->villages->row['id'];

        echo "\">";

        echo $this->villages->row['village_name'];

        echo "</a>";

        if ( $this->villages->row['is_capital'] )

        {

            echo " ";

            echo "<s";

            echo "pan class=\"none3\">(";

            echo LANGUI_PROFILE_T25;

            echo ")</span>";

        }

        echo "</td>\r\n\t\t\t<td class=\"hab\">";

        echo $this->villages->row['people_count'];

        echo "</td>\r\n\t\t\t<td class=\"aligned_coords\"><div class=\"cox\">(";

        echo $this->villages->row['rel_x'];

        echo "</div><div class=\"pi\">|</div><div class=\"coy\">";

        echo $this->villages->row['rel_y'];

        echo ")</div></td>\r\n\t\t</tr>\r\n\t\t";

    }

    echo "\t</tbody>\r\n</table>\r\n\r\n";

}

else if ( $this->selectedTabIndex == 1 )

{

    echo "<form action=\"profile.php\" enctype=\"multipart/form-data\" method=\"POST\">\r\n\t<input type=\"hidden\" name=\"e\" value=\"1\" />\r\n\t<input type=\"hidden\" name=\"oldavatar\" value=\"";

    echo htmlspecialchars( $this->profileData['avatar'] );

    echo "\" />\r\n\t<table cellpadding=\"1\" cellspacing=\"1\" id=\"edit\" class=\"vip\">\r\n\t\t<thead>\r\n\t\t\t<tr>\r\n\t\t\t\t<th colspan=\"3\">";

    echo LANGUI_PROFILE_T7;

    echo " ";

    echo $this->profileData['name'];

    echo "</th>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td colspan=\"2\">";

    echo LANGUI_PROFILE_T8;

    echo ":</td>\r\n\t\t\t\t<td>";

    echo LANGUI_PROFILE_T9;

    echo ":</td>\r\n\t\t\t</tr>\r\n\t\t</thead>\r\n\t\t<tbody>\r\n\t\t\t<tr>\r\n\t\t\t\t<td colspan=\"2\" class=\"empty\"></td><td class=\"empty\"></td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<th>";

    echo LANGUI_PROFILE_T26;

    echo ":</th>\r\n\t\t\t\t<td class=\"birth\">\r\n\t\t\t\t\t<input tabindex=\"3\" type=\"text\" name=\"jahr\" value=\"";

    if ( 0 < $this->birthDate['year'] )

    {

        echo $this->birthDate['year'];

    }

    echo "\" maxlength=\"4\" class=\"text year\">\r\n\t\t\t\t\t";

    echo "<s";

    echo "elect tabindex=\"2\" name=\"monat\" size=\"0\" class=\"dropdown\">\r\n\t\t\t\t\t\t<option value=\"0\"></option>\r\n\t\t\t\t\t\t<option value=\"1\"";

    if ( $this->birthDate['month'] == 1 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T27;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"2\"";

    if ( $this->birthDate['month'] == 2 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T28;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"3\"";

    if ( $this->birthDate['month'] == 3 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T29;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"4\"";

    if ( $this->birthDate['month'] == 4 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T30;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"5\"";

    if ( $this->birthDate['month'] == 5 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T31;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"6\"";

    if ( $this->birthDate['month'] == 6 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T32;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"7\"";

    if ( $this->birthDate['month'] == 7 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T33;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"8\"";

    if ( $this->birthDate['month'] == 8 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T34;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"9\"";

    if ( $this->birthDate['month'] == 9 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T35;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"10\"";

    if ( $this->birthDate['month'] == 10 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T36;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"11\"";

    if ( $this->birthDate['month'] == 11 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T37;

    echo "</option>\r\n\t\t\t\t\t\t<option value=\"12\"";

    if ( $this->birthDate['month'] == 12 )

    {

        echo " selected=\"selected\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T38;

    echo "</option>\r\n\t\t\t\t\t</select>\r\n\t\t\t\t\t<input tabindex=\"1\" class=\"text day\" type=\"text\" name=\"tag\" value=\"";

    if ( 0 < $this->birthDate['day'] )

    {

        echo $this->birthDate['day'];

    }

    echo "\" maxlength=\"2\">\r\n\t\t\t\t</td>\r\n\t\t\t\t<td rowspan=\"8\" class=\"desc1\"><textarea tabindex=\"7\" name=\"be1\">";

    echo $this->profileData['description1'];

    echo "</textarea></td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<th>";

    echo LANGUI_PROFILE_T16;

    echo ":</th>\r\n\t\t\t\t<td class=\"gend\">\r\n\t\t\t\t\t<label><input class=\"radio\" type=\"radio\" name=\"mw\" value=\"0\"";

    if ( $this->profileData['gender'] == 0 )

    {

        echo "  checked=\"\" tabindex=\"4\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T39;

    echo "</label>\r\n\t\t\t\t\t<label><input class=\"radio\" type=\"radio\" name=\"mw\" value=\"1\"";

    if ( $this->profileData['gender'] == 1 )

    {

        echo "  checked=\"\" tabindex=\"4\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T40;

    echo "</label>\r\n\t\t\t\t\t<label><input class=\"radio\" type=\"radio\" name=\"mw\" value=\"2\"";

    if ( $this->profileData['gender'] == 2 )

    {

        echo "  checked=\"\" tabindex=\"4\"";

    }

    echo ">";

    echo LANGUI_PROFILE_T41;

    echo "</label>\r\n\t\t\t\t</td>\r\n\t\t\t</tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<th>";

    echo LANGUI_PROFILE_T19;

    echo ":</th>\r\n\t\t\t\t<td><input tabindex=\"5\" type=\"text\" name=\"ort\" value=\"";

    echo htmlspecialchars( $this->profileData['house_name'] );

    echo "\" maxlength=\"30\" class=\"text\" /></td>\r\n\t\t\t</tr>\r\n\t\t\t<tr><td colspan=\"2\" class=\"empty\"></td></tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<th>";

    echo LANGUI_PROFILE_T42;

    echo ":</th>\r\n\t\t\t\t<td><input tabindex=\"6\" type=\"text\" name=\"dname\" value=\"";

    echo htmlspecialchars( $this->profileData['village_name'] );

    echo "\" maxlength=\"20\" class=\"text\" /></td>\r\n\t\t\t</tr>\r\n            <tr>\r\n\t\t\t  <th>";

    echo LANGUI_PROFILE_T71;

    echo ":</th>\r\n\t\t\t  <td><input tabindex=\"10\" type=\"file\" name=\"avatar\" class=\"text\" /></td>\r\n\t      </tr>\r\n\t\t\t<tr><td colspan=\"2\" class=\"empty\"></td></tr>\r\n\t\t\t<tr><td colspan=\"2\" class=\"desc2\"><textarea tabindex=\"8\" name=\"be2\">";

    echo $this->profileData['description2'];

    echo "</textarea></td></tr>\r\n\t\t</tbody>\r\n\t</table>\r\n\r\n\t<table cellpadding=\"1\" cellspacing=\"1\" id=\"medals\">\r\n\t\t<thead>\r\n\t\t\t<tr><th colspan=\"4\">";

    echo LANGUI_PROFILE_T43;

    echo "</th></tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td>";

    echo LANGUI_PROFILE_T44;

    echo "</td>\r\n\t\t\t\t<td>";

    echo LANGUI_PROFILE_T45;

    echo "</td>\r\n\t\t\t\t<td>";

    echo LANGUI_PROFILE_T46;

    echo "</td>\r\n\t\t\t\t<td>";

    echo LANGUI_PROFILE_T47;

    echo "</td>\r\n\t\t\t</tr>\r\n\t\t</thead>\r\n\t\t<tbody>\r\n\t\t\t";

    $medals = explode( ",", $this->profileData['medals'] );

    foreach ( $medals as $medal )

    {

        {

            continue;

        }

        $medalData = $this->gameMetadata['medals'][$index];

        if ( $index == 0 )

        {

            $rank = 1;

        }

        echo "\t\t\t<tr>\r\n\t\t\t   <td class=\"typ\">";

        echo constant( "medal_row_".$medalData['textIndex'] );

        echo "</td>\r\n\t\t\t   <td class=\"ra\">";

        echo $rank;

        echo "</td>\r\n\t\t\t   <td class=\"we\">";

        echo $week;

        echo "</td>\r\n\t\t\t   <td class=\"bb\">[#";

        echo intval( $medalData['BBCode'] ) + intval( $week ) * 10 + ( intval( $rank ) - 1 );

        echo "]</td>\r\n\t\t\t</tr>\r\n\t\t\t";

    }

    echo "\t\t</tbody>\r\n\t</table>\r\n\t<p class=\"btn\"><input type=\"image\" value=\"\" tabindex=\"9\" name=\"s1\" id=\"btn_ok\" class=\"dynamic_img\" src=\"assets/x.gif\" alt=\"";

    echo text_okdone_lang;

    echo "\"></p>\r\n</form>\r\n";

}

else if ( $this->selectedTabIndex == 2 )

{

    echo "<form action=\"profile.php?t=2\" method=\"POST\">\r\n<input type=\"hidden\" name=\"e\" value=\"2\">\r\n\r\n<table cellpadding=\"1\" cellspacing=\"1\" id=\"change_mail\" class=\"account\">\r\n\t<thead>\r\n\t\t<tr><th colspan=\"2\">";

    echo LANGUI_PROFILE_T48;

    echo "</th></tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr><td class=\"note\" colspan=\"2\">";

    echo LANGUI_PROFILE_T49;

    echo "</td></tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

    echo LANGUI_PROFILE_T50;

    echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"password\" name=\"pw1\" maxlength=\"20\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

    echo LANGUI_PROFILE_T51;

    echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"password\" name=\"pw2\" maxlength=\"20\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

    echo LANGUI_PROFILE_T51;

    echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"password\" name=\"pw3\" maxlength=\"20\"></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<table cellpadding=\"1\" cellspacing=\"1\" id=\"change_mail\" class=\"account\">\r\n\t<thead>\r\n\t\t<tr><th colspan=\"2\">";

    echo LANGUI_PROFILE_T52;

    echo "</th></tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr><td class=\"note\" colspan=\"2\">";

    echo LANGUI_PROFILE_T53;

    echo "</td></tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

    echo LANGUI_PROFILE_T54;

    echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"text\" name=\"email_alt\" maxlength=\"50\"></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

    echo LANGUI_PROFILE_T55;

    echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"text\" name=\"email_neu\" maxlength=\"50\"></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n<p class=\"btn\"><input type=\"image\" value=\"\" name=\"s1\" id=\"btn_save\" class=\"dynamic_img\" src=\"assets/x.gif\" alt=\"";

    echo text_save_lang;

    echo "\"></p>\r\n</form>\r\n";

}

else if ( $this->selectedTabIndex == 3 )

{

    if ( $this->errorText != "" )

    {

        echo "<p class=\"f10 e\">";

        echo $this->errorText;

        echo "</p>";

    }

    echo "<form action=\"profile.php?t=3\" method=\"POST\">\r\n<input type=\"hidden\" name=\"e\" value=\"3\">\r\n\r\n<table cellpadding=\"1\" cellspacing=\"1\" id=\"sitter\" class=\"account\">\r\n\t<thead>\r\n\t\t<tr><th colspan=\"2\">";

    echo LANGUI_PROFILE_T56;

    echo "</th></tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr><td class=\"note\" colspan=\"2\">";

    echo LANGUI_PROFILE_T57;

    echo "</td></tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

    echo LANGUI_PROFILE_T58;

    echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"text\" name=\"v1\" maxlength=\"15\"";

    if ( 2 <= sizeof( $this->myAgentPlayers ) )

    {

        echo " disabled=\"\"";

    }

    echo ">";

    echo "<s";

    echo "pan class=\"";

    echo 2 <= sizeof( $this->myAgentPlayers ) ? "max" : "count";

    echo "\">(";

    echo sizeof( $this->myAgentPlayers );

    echo "/2)</span></td>\r\n\t\t</tr>\r\n\t\t<tr><td colspan=\"2\" class=\"sitter\">\r\n\t\t";

    if ( sizeof( $this->myAgentPlayers ) == 0 )

    {

        echo "\t\t\t";

        echo "<s";

        echo "pan class=\"none\">";

        echo LANGUI_PROFILE_T59;

        echo "</span>\r\n\t\t";

    }

    else

    {

        foreach ( $this->myAgentPlayers as $aid => $aname )

        {

            echo "\t\t<div><a href=\"profile.php?t=3&aid=";

            echo $aid;

            echo "\"><img class=\"del\" src=\"assets/x.gif\" title=\"";

            echo LANGUI_PROFILE_T60;

            echo "\" alt=\"";

            echo LANGUI_PROFILE_T60;

            echo "\"></a> <a href=\"profile.php?uid=";

            echo $aid;

            echo "\">";

            echo $aname;

            echo "</a></div>\r\n\t\t";

        }

    }

    echo "\t\t</td></tr>\r\n\t\t\r\n\t\t<tr><td class=\"note\" colspan=\"2\">";

    echo LANGUI_PROFILE_T61;

    echo "</td></tr>\r\n\t\t<tr><td colspan=\"2\" class=\"sitter\">\r\n\t\t";

    if ( sizeof( $this->agentForPlayers ) == 0 )

    {

        echo "\t\t\t";

        echo "<s";

        echo "pan class=\"none\">";

        echo LANGUI_PROFILE_T62;

        echo "</span>\r\n\t\t";

    }

    else

    {

        foreach ( $this->agentForPlayers as $aid => $aname )

        {

            echo "\t\t<div><a href=\"profile.php?t=3&afid=";

            echo $aid;

            echo "\"><img class=\"del\" src=\"assets/x.gif\" title=\"";

            echo LANGUI_PROFILE_T63;

            echo "\" alt=\"";

            echo LANGUI_PROFILE_T63;

            echo "\"></a> <a href=\"profile.php?uid=";

            echo $aid;

            echo "\">";

            echo $aname;

            echo "</a></div>\r\n\t\t";

        }

    }

    echo "\t\t</td></tr>\r\n\t</tbody>\r\n</table>\r\n";

    if ( sizeof( $this->myAgentPlayers ) < 2 )

    {

        echo "<p class=\"btn\"><input type=\"image\" value=\"\" name=\"s1\" id=\"btn_save\" class=\"dynamic_img\" src=\"assets/x.gif\" alt=\"";

        echo text_save_lang;

        echo "\"></p>";

    }

    echo "</form>\r\n";

}

else if ( $this->selectedTabIndex == 4 )

{

    echo "<form action=\"profile.php?t=4\" method=\"POST\">\r\n<input type=\"hidden\" name=\"e\" value=\"4\">\r\n\r\n<table cellpadding=\"1\" cellspacing=\"1\" id=\"del_acc\" class=\"account\">\r\n\t<thead>\r\n\t\t<tr><th colspan=\"2\">";

    echo LANGUI_PROFILE_T6;

    echo "</th></tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr><td class=\"note\" colspan=\"2\">";

    echo LANGUI_PROFILE_T64;

    echo "</td></tr>\r\n\t\t";

    if ( $this->isPlayerInDeletionProgress( ) )

    {

        echo "\t\t<tr>\r\n\t\t\t<td colspan=\"2\" class=\"count\">\r\n\t\t\t\t";

        if ( $this->canCancelPlayerDeletionProcess( ) )

        {

            echo "<a href=\"profile.php?t=4&qid=";

            echo $this->getPlayerDeletionId( );

            echo "\"><img class=\"del\" src=\"assets/x.gif\" alt=\"";

            echo LANGUI_PROFILE_T65;

            echo "\" title=\"";

            echo LANGUI_PROFILE_T65;

            echo "\"> ";

        }

        echo "</a>";

        echo LANGUI_PROFILE_T66;

        echo " ";

        echo "<s";

        echo "pan id=\"timer1\">";

        echo $this->getPlayerDeletionTime( );

        echo "</span> ";

        echo time_hour_lang;

        echo "\t\t\t</td>\r\n\t\t</tr>\r\n\t\t";

    }

    else

    {

        echo "\t\t<tr>\r\n\t\t\t<th>";

        echo LANGUI_PROFILE_T6;

        echo "</th>\r\n\t\t\t<td class=\"del_selection\">\r\n\t\t\t\t<label><input class=\"radio\" type=\"radio\" name=\"del\" value=\"1\"> ";

        echo LANGUI_PROFILE_T67;

        echo "</label>\r\n\t\t\t\t<label><input class=\"radio\" type=\"radio\" name=\"del\" value=\"0\" checked=\"\"> ";

        echo LANGUI_PROFILE_T68;

        echo "</label>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<th>";

        echo LANGUI_PROFILE_T69;

        echo ":</th>\r\n\t\t\t<td><input class=\"text\" type=\"password\" name=\"del_pw\" maxlength=\"20\"></td>\r\n\t\t</tr>\r\n\t\t";

    }

    echo "\t</tbody>\r\n</table>\r\n";

    if ( !$this->isPlayerInDeletionProgress( ) )

    {

        echo "<p class=\"btn\"><input type=\"image\" value=\"\" name=\"s1\" id=\"btn_save\" class=\"dynamic_img\" src=\"assets/x.gif\" alt=\"";

        echo text_save_lang;

        echo "\"></p>";

    }

    echo "</form>\r\n";

}

?>


الرجوع الى أعلى الصفحة اذهب الى الأسفل
http://tatarwar.mam9.com
 

ملف profile.phtml مفكوك 100%

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

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
منتدى حرب التتار :: ¦ ¦آلعـآبـ آخــرى آـؤنـ لآيـنـ | Other Games Online ~ :: سيرفرات حرب التتار والعاب اونلاين اخرى-