Advertisement
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: 239: 240: 241: 242: 243: 244: 245: 246: 247: 248: 249: 250: 251: 252: 253: 254: 255: 256: 257: 258: 259: 260: 261: 262: 263: 264: 265: 266: 267: 268: 269: 270: 271: 272: 273: 274: 275: 276: 277: 278: 279: 280: 281: 282: 283: 284: 285: 286: 287: 288: 289: 290: 291: 292: 293: 294: 295: 296: 297: 298: 299: 300: 301: 302: 303: 304: 305: 306: 307: 308: 309: 310: 311: 312: 313: 314: 315: 316: 317: 318: 319: 320: 321: 322: 323: 324: 325: 326: 327: 328: 329: 330: 331: 332: 333: 334: 335: 336: 337: 338: 339: 340: 341: 342: 343: 344: 345: 346: 347: 348: 349: 350: 351: 352: 353: 354: 355: 356: 357: 358: 359: 360: 361: 362: 363: 364: 365: 366: 367: 368: 369: 370: 371: 372: 373: 374: 375: 376: 377: 378: 379: 380: 381: 382: 383: 384: 385: 386: 387: 388: 389: 390: 391: 392: 393: 394: 395: 396: 397: 398: 399: 400: 401: 402: 403: 404: 405: 406: 407: 408: 409: 410: 411: 412: 413: 414: 415: 416: 417: 418: 419: 420: 421: 422: 423: 424: 425: 426: 427: 428: 429: 430: 431: 432: 433: 434: 435: 436: 437: 438: 439: 440: 441: 442: 443: 444: 445: 446: 447: 448: 449: 450: 451: 452: 453: 454: 455: 456: 457: 458: 459: 460: 461: 462: 463: 464: 465: 466: 467: 468: 469: 470: 471: 472: 473: 474: 475: 476: 477: 478: 479: 480: 481: 482: 483: 484: 485: 486: 487: 488: 489: 490: 491: 492: 493: 494: 495: 496: 497: 498: 499: 500: 501: 502: 503: 504: 505: 506: 507: 508: 509: 510: 511: 512: 513: 514: 515: 516: 517: 518: 519: 520: 521: 522: 523: 524: 525: 526: 527: 528: 529: 530: 531: 532: 533: 534: 535: 536: 537: 538: 539: 540: 541: 542: 543: 544: 545: 546: 547: 548: 549: 550: 551: 552: 553: 554: 555: 556: 557: 558: 559: 560: 561: 562: 563: 564: 565: 566: 567: 568: 569: 570: 571: 572: 573: 574: 575: 576: 577: 578: 579: 580: 581: 582: 583: 584: 585: 586: 587: 588: 589: 590: 591: 592: 593: 594: 595: 596: 597: 598: 599: |
using System;
using System.Data;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
//using Ecowaste.E_plan.ApplicationConfiguration;
using Ecowaste.E_plan.ApplicationLayer;
using Ecowaste.E_plan.DomainLayer;
namespace Ecowaste.E_plan.WebSite
{
public partial class u1_accountsView : PrincipalPage
{
protected LinkButton lbEmail_;
protected AccountController AccountController_;
//private DataGrid dgAllAccounts_;
private DataView dvAllAccounts_;
private User User_;
private int NbrAccounts_;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
LoadData();
}
LoadGraphemes();
}
private void LoadGraphemes()
{
/*lbSup.Text = "Sup"; // todo : trouver icone dependance
lbSup.ToolTip = "<lng id=SupInfo/>";
lbAccountId.Text = "<lng id=AccountId/>";
lbAccountId.ToolTip = "<lng id=AccountIdInfo/>";
lbFirstname.Text = "<lng id=Firstname/>";
lbLastname.Text = "<lng id=Lastname/>";
lbAddress.Text = "<lng id=Address/>";
lbPostalCode.Text = "<lng id=Zip/>";
lbCity.Text = "<lng id=City/>";
//lbEmail.Text = "<lng id=HeaderEmail/>";
lbSub.Text = "Sub"; // todo: trouver icone dependants.
lbSub.ToolTip = "<lng id=SubInfo/>";*/
}
private void LoadData()
{
DataTable dtAllAccounts = new DataTable();
dtAllAccounts = AccountController_.GetAllAccountForAdmin();
dtAllAccounts.Columns.Add("Sup");
dtAllAccounts.Columns.Add("Sub");
foreach (DataRow drRow in dtAllAccounts.Rows)
{
int acc_id = int.Parse(drRow["account_id"].ToString());
if (AccountController_.HasAResponsibleAccount(acc_id))
drRow["Sup"] =
"<img id='imgSup' runat='server' name='plusSign' src='../Themes/base/img/detail.gif' " +
"onmouseover=\"this.src='../Themes/base/img/detail_over.png'\" " +
"onmouseout=\"this.src='../Themes/base/img/detail.gif'\" " +
"onClick='javascript:ask_infoUpForAccount(" + acc_id + ")' />";
if (AccountController_.IsResponsibleForAccounts(acc_id))
drRow["Sub"] = "<img id='imgSub' runat='server' name='plusSign' src='../Themes/base/img/detail.gif' " +
"onmouseover=\"this.src='../Themes/base/img/detail_over.png'\" " +
"onmouseout=\"this.src='../Themes/base/img/detail.gif'\" " +
"onClick='javascript:ask_infoDownForAccount(" + acc_id + ");' />";
}
dvAllAccounts_ = new DataView(dtAllAccounts);
dgAllAccounts_.AutoGenerateColumns = false;
dgAllAccounts_.EnableViewState = true;
dgAllAccounts_.PageSize = 25;
dgAllAccounts_.PagerStyle.Mode = PagerMode.NextPrev;
dgAllAccounts_.AllowPaging = true;
dgAllAccounts_.GridLines = GridLines.Both;
dgAllAccounts_.CellPadding = 3;
dgAllAccounts_.CellSpacing = 0;
dgAllAccounts_.AlternatingItemStyle.CssClass = "over";//BackColor = Color.FromArgb();
dgAllAccounts_.FooterStyle.CssClass = "fond"; //NE FONCTIONNE PAS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dgAllAccounts_.Columns.Add(createBoundColumn("Sup", "Sup"));
dgAllAccounts_.Columns.Add(createBoundColumn("account_id", "<lng id=AccountId/>"));
dgAllAccounts_.Columns.Add(createBoundColumn("firstname", "<lng id=Firstname/>"));
dgAllAccounts_.Columns.Add(createBoundColumn("lastname", "<lng id=Lastname/>"));
dgAllAccounts_.Columns.Add(createBoundColumn("address", "<lng id=Address/>"));
dgAllAccounts_.Columns.Add(createBoundColumn("zip", "<lng id=Zip/>"));
dgAllAccounts_.Columns.Add(createBoundColumn("city", "<lng id=City/>"));
dgAllAccounts_.Columns.Add(createBoundColumn("Sub", "Sub"));
int intNbCols = dgAllAccounts_.Columns.Count;
dgAllAccounts_.HeaderStyle.CssClass = "tr_ca_header_accounts";
for (int i = 0; i < intNbCols; i++)
{
dgAllAccounts_.Columns[i].HeaderStyle.CssClass = "a_ca";
}
dgAllAccounts_.Columns[0].HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
dgAllAccounts_.Columns[1].HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
dgAllAccounts_.Columns[intNbCols - 1].HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
dgAllAccounts_.PageIndexChanged += Grid_Change;
dgAllAccounts_.DataSource = dvAllAccounts_;
dgAllAccounts_.DataBind();
phContent_.Controls.Add(dgAllAccounts_);
}
#region Web Form Designer generated code
protected override void OnInit(EventArgs e)
{
// --- AUTHENTIFICATION ------------------------------------------------
if (!VarSession.Authenticated)
Response.Redirect(ConfigurationSettings.AppSettings["AUTH_PAGE"]);
// --- ---------------- ------------------------------------------------
User_ = (DomainLayer.User)VarSession.User;
AccountController_ = new AccountController(VarSession.Role, VarSession.Community, VarSession.Language, VarSession.Constantes);
dgAllAccounts_ = new DataGrid();
//old method
//repAllAccounts.DataSource = AccountController_.GetAllAccountForAdmin();
//repAllAccounts.DataBind();
PageTitle = "<lng id=accounts02accountsDependencyView_Title/>";
PageInfo = "<lng id=accounts02accountsDependencyView_Info/>";
InitializeComponent();
base.OnInit(e);
}
private void InitializeComponent()
{
dgAllAccounts_.PageIndexChanged += new DataGridPageChangedEventHandler(Grid_Change);
}
protected void Grid_Change(Object sender, DataGridPageChangedEventArgs e)
{
// Set CurrentPageIndex to the page the user clicked.
dgAllAccounts_.CurrentPageIndex = e.NewPageIndex;
// Rebind the data.
dgAllAccounts_.DataSource = dvAllAccounts_;
dgAllAccounts_.DataBind();
}
private BoundColumn createBoundColumn (string DataFieldValue, string HeaderTextValue)
{
BoundColumn column = new BoundColumn();
column.DataField = DataFieldValue;
column.HeaderText = HeaderTextValue;
return column;
}
private void Item_Bound(Object sender, DataGridItemEventArgs e)
{
// Use the ItemDataBound event to customize the DataGrid control.
// The ItemDataBound event allows you to access the data before
// the item is displayed in the control. In this example, the
// ItemDataBound event is used to format the items in the
// CurrencyColumn in currency format.
if ((e.Item.ItemType == ListItemType.Item) ||
(e.Item.ItemType == ListItemType.AlternatingItem))
{
// Retrieve the text of the CurrencyColumn from the DataGridItem
// and convert the value to a Double.
Double Price = Convert.ToDouble(e.Item.Cells[2].Text);
// Format the value as currency and redisplay it in the DataGrid.
e.Item.Cells[2].Text = Price.ToString("c");
}
}
#endregion
/*public void treatItem(object sender, RepeaterItemEventArgs e)
{
HtmlImage imgSup;
HtmlImage imgSub;
int acc_id = (int)DataBinder.Eval(e.Item.DataItem, "account_id");
imgSup = (HtmlImage)e.Item.FindControl("imgSup");
imgSub = (HtmlImage)e.Item.FindControl("imgSub");
// suis -je super compte -> oui || non
// ai-je des sous comtes -> oui || non
SystemConfiguration SC_= new SystemConfiguration(VarSession.Role, VarSession.Community);
imgSup.Visible = AccountController_.HasAResponsibleAccount(acc_id);
imgSub.Visible = AccountController_.IsResponsibleForAccounts(acc_id);
imgSup.Attributes.Add("accountId", acc_id.ToString());
imgSub.Attributes.Add("accountId", acc_id.ToString());
}*/
}
}
Disign file:
<%@ Page language="c#" Inherits="Ecowaste.E_plan.WebSite.u1_accountsView" Codebehind="01_accountsView.aspx.cs" %>
<%@ Register TagPrefix="mbcbb" Namespace="MetaBuilders.WebControls" Assembly="MetaBuilders.WebControls.ComboBox" %>
<script type="text/javascript" language="javascript">
var id;
//<div onclick="close(this);" style="text-align:right; vertical-align:top; visibility:inherit">X</div>
function __callbackRPC(key, result){
switch(key){
case "InfoUpForAccount":
document.getElementById("divSablier").style.display = "none";
document.getElementById("divInfoUpForAccount").style.display = "block";
document.getElementById("divSubAccounts").style.display = "none";
var superAccount = result.getElementsByTagName("superAccount");
parseResponseUp(superAccount);
break;
case "InfoDownForAccount":
document.getElementById("divSablier").style.display = "none"; // efface le sablier
document.getElementById("divInfoDownForAccount").style.display = "block"; // rend visible le rectangle
document.getElementById("divSubAccounts").style.display = "block"; // rend visible le rectangle
// on efface les affichages précedents.
var divPane = document.getElementById("divInfoDownForAccount");
var cleanDiv = divPane.cloneNode(false); // rend visible le rectangle
divPane.parentNode.replaceChild(cleanDiv, divPane);
// on cree le nouvel affichage
document.getElementById("SuperAccountIdValue").innerHTML = id;
var listSubAccounts = result.getElementsByTagName("subAccount");
var subAccounts = parseResponseDown(listSubAccounts);
var divPane = document.getElementById("divInfoDownForAccount");
divPane.appendChild(subAccounts);
break;
default:
break;
}
}
//------ UP ACCOUNT --------------------------------------
function ask_infoUpForAccount(acc_id){
//toogle("divInfoUpForAccount");
document.getElementById("divInfoDownForAccount").style.display = "none";
document.getElementById("divSablier").style.display = "block";
id = acc_id;
//id = objImg.getAttribute("accountId");
var rpcObj = new rpcClass();
rpcObj.setReqType("post"); // type de requete à passer
//rpcObj.setRequest("infoObjets.txt");
rpcObj.setRequest(pathWebService + "CommunityAdmin.asmx/GetInfoUpForAccount", "id=" + id);
rpcObj.asynchCall = true; // requete asynchrone.
rpcObj.resultType = 1; // la rep est text
rpcObj.resultKey = "InfoUpForAccount"; // clé de rappel
rpcObj.launchRequest();
}
function parseResponseUp(list){// bags -> html
var suppAccId = "-"; var groundId = "-";
var fname= "-"; var lastname = "-";
var address= "-"; var addNo="-"; var city= "-";
var phone = "-"; var email= "-";
for(var i = 0; i < list.length; i++) {
property = list[i];
suppAccId = property.getElementsByTagName("superAccountId")[0].firstChild.nodeValue;
groundId = property.getElementsByTagName("groundId")[0].firstChild.nodeValue;
fname= property.getElementsByTagName("fname")[0].firstChild.nodeValue;
lastname = property.getElementsByTagName("lastname")[0].firstChild.nodeValue;
address = property.getElementsByTagName("address")[0].firstChild.nodeValue;
addNo = property.getElementsByTagName("addNo")[0].firstChild.nodeValue;
phone = property.getElementsByTagName("phone")[0].firstChild.nodeValue;
email = property.getElementsByTagName("email")[0].firstChild.nodeValue;
city = property.getElementsByTagName("city")[0].firstChild.nodeValue;
}
document.getElementById("SuperAccountIdValue_1").innerHTML= suppAccId;
document.getElementById("GroundId").innerHTML= groundId;
document.getElementById("FirstnameValue").innerHTML = fname;
document.getElementById("LastnameValue").innerHTML = lastname;
document.getElementById("AddressValue").innerHTML = address;
document.getElementById("NoValue").innerHTML = addNo;
document.getElementById("PhoneValue").innerHTML = phone;
document.getElementById("EmailValue").innerHTML = email;
document.getElementById("CityValue").innerHTML = city;
}
//-------------------------------------------------------
//------ DOWN ACCOUNT --------------------------------------
function ask_infoDownForAccount(acc_id){
//toogle("divInfoDownForAccount");
document.getElementById("divInfoUpForAccount").style.display = "none";
document.getElementById("divSubAccounts").style.display = "block"; // rend visible le rectangle
document.getElementById("divSablier").style.display = "block";
id = acc_id;
//id = objImg.getAttribute("accountId");
var rpcObj = new rpcClass();
rpcObj.setReqType("post"); // type de requete à passer
//rpcObj.setRequest("infoObjets.txt");
rpcObj.setRequest(pathWebService + "CommunityAdmin.asmx/GetInfoDownForAccount", "id=" + id);
rpcObj.asynchCall = true; // requete asynchrone.
rpcObj.resultType = 1; // la rep est text
rpcObj.resultKey = "InfoDownForAccount"; // clé de rappel
rpcObj.launchRequest();
}
// crée un tableau, ajoute une ligne pour chaque account.
function parseResponseDown(list){
var tableAll = document.createElement("table");
var tbody = document.createElement("tbody");
tableAll.border="0";
tableAll.width = "100%";
for(var i = 0; i < list.length; i++) {
property = list[i];
var tableTemp = addTable();
var row = document.createElement("tr");
var cell = document.createElement("td");
accountId = property.getElementsByTagName("accountId")[0].firstChild.nodeValue;
groundId = property.getElementsByTagName("groundId")[0].firstChild.nodeValue;
fname = property.getElementsByTagName("fname")[0].firstChild.nodeValue;
lname = property.getElementsByTagName("lastname")[0].firstChild.nodeValue;
address = property.getElementsByTagName("address")[0].firstChild.nodeValue;
addNo = property.getElementsByTagName("addNo")[0].firstChild.nodeValue;
city = property.getElementsByTagName("city")[0].firstChild.nodeValue;
phone = property.getElementsByTagName("phone")[0].firstChild.nodeValue;
email = property.getElementsByTagName("email")[0].firstChild.nodeValue;
tableTemp = addTable(accountId, groundId, fname, lname, address, addNo, city, phone, email);
row.appendChild(cell); // la cellule dans la colonne.
cell.appendChild(tableTemp); // la colo
tbody.appendChild(row);
tableAll.appendChild(tbody);
}
return tableAll;
}
function addTable(accId, grndId, firstname, lastname, address, addNo, city, phone, email){
var table = document.createElement("table");
var tbody = document.createElement("tbody");
table.width = "100%";
table.border = "0";
table.className = "SubAccountInfo";
var row1 = document.createElement("tr");
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=AccountIdInfo/>");
cell.appendChild(value);
row1.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(accId);
cell.appendChild(value);
row1.appendChild(cell);
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=GroundNbr/>");
cell.appendChild(value);
row1.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(grndId);
cell.appendChild(value);
row1.appendChild(cell);
var row2 = document.createElement("tr");
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=Firstname/>");
cell.appendChild(value);
row2.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(firstname);
cell.appendChild(value);
row2.appendChild(cell);
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=Lastname/>");
cell.appendChild(value);
row2.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(lastname);
cell.appendChild(value);
row2.appendChild(cell);
var row3 = document.createElement("tr");
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=Address/>");
cell.appendChild(value);
row3.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(address);
cell.appendChild(value);
row3.appendChild(cell);
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=AddressNo/>");
cell.appendChild(value);
row3.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(addNo);
cell.appendChild(value);
row3.appendChild(cell);
var row4 = document.createElement("tr");
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=Phone/>");
cell.appendChild(value);
row4.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(phone);
cell.appendChild(value);
row4.appendChild(cell);
//----
var cell = document.createElement("td");
cell.className = "td_key";
var value = document.createTextNode("<lng id=EmailAddress/>");
cell.appendChild(value);
row4.appendChild(cell);
var cell = document.createElement("td");
cell.className = "td_val";
var value = document.createTextNode(email);
cell.appendChild(value);
row4.appendChild(cell);
tbody.appendChild(row1);
tbody.appendChild(row2);
tbody.appendChild(row3);
tbody.appendChild(row4);
table.appendChild(tbody);
return table;
}
//-------------------------------------------------------
function view_detail(id){
//this.location = "01_accountDetail.aspx?id=" + id;
this.location = "01_accountDetail.aspx?id=" + id;
}
function CloseWin(val){
//alert("closing");
document.getElementById(val).style.display= "none";
}
</script>
<!-- attente des infos ajax -->
<div id="divSablier" style="display:none" class="transparent" style="display:none;height:550px;z-index:100;">
<table class="inSablier" border="0">
<tr>
<td valign="middle" align="center">
<img src="../Themes/base/img/loading.gif" width="100" height="100">
</td>
</tr>
</table>
</div>
<div id="divInfoUpForAccount" class="ResponsibleAccount" style="display:none;padding:20px;">
<table width='100%'>
<tr style="font-size:small; font-weight:bold;">
<td>
<lng id=SupAccForAcc/> : <span id="SuperAccountIdValue_1">666</span>
<span onclick='javascript:CloseWin("divInfoUpForAccount")' style="position:absolute;right:20px;cursor:pointer">X</span>
</td>
</tr>
<tr>
<td class='td_key'>
<lng id=GroundNbr/> : <span id="GroundId" class='td_val'></span>
</td>
</tr>
<tr style='font-weight:bold;color:#333333'>
<td>
<table border='0' width='100%'>
<tr class='tr_ca_header_accounts'>
<td class='ca_title_I' title='Responsible Person of parent account' colspan='4'>
<lng id=SuperAccountId/>:<span id="superAccountIdValue_2"></span>
</td>
</tr>
<tr>
<td class='td_key' title='Responsible Person of parent account'><lng id=Firstname/></td>
<td class='td_val'> <span id="FirstnameValue"></span> </td>
<td class='td_key' title='Responsible Person of parent account'><lng id=Lastname/></td>
<td class='td_val'> <span id="LastnameValue"></span> </td>
</tr>
<tr>
<td class='td_key' title='Responsible Person of parent account'><lng id=Address/></td>
<td class='td_val'> <span id="AddressValue"></span> </td>
<td class='td_key' title='Responsible Person of parent account'><lng id=No/></td>
<td class='td_val'> <span id="NoValue"></span> </td>
</tr>
<tr>
<td class='td_key' title='Responsible Person of parent account'><lng id=Phone/></td>
<td class='td_val'> <span id="PhoneValue"></span> </td>
<td class='td_key' title='Responsible Person of parent account'><lng id=EmailAddress/></td>
<td class='td_val'> <span id="EmailValue"></span> </td>
</tr>
<tr>
<td class='td_key' title='Responsible Person of parent account'><lng id=City/></td>
<td class='td_val'> <span id="CityValue"></span> </td>
<td> </td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!--
<div id="divInfoUpForAccount" class="ResponsibleAccount" style="display:visible;padding:20px;">
<table border='1' width='100%'>
<tr class='tr_ca_header_accounts'>
<td class='ca_title_I'>The account of id : " +id+ " <u>is reponsible for his own</u>.</td>
<tr>
</table>
</div>
-->
<div id="divSubAccounts" style="display:none; padding:20px;" class="DependantAccounts">
<table width='100%'>
<tr class="tr_ca_header_accounts" style="font-size:small; font-weight:bold;">
<td>
<lng id=SubAccForAcc/> : <span id="SuperAccountIdValue" class="ca_title_I"></span>
<span onclick='javascript:CloseWin("divSubAccounts")' style="position:absolute;right:25px;cursor:pointer">X</span>
</td>
</tr>
</table>
<div id="divInfoDownForAccount" style="display:none;">
</div>
</div>
<asp:placeholder id="phContent_" runat="server">
<asp:datagrid id="dgAllAccounts_" onpageindexchanged="Grid_Change" runat="server"></asp:datagrid>
</asp:placeholder>
|
|
Loading Advertisement... |