)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Home » Code Library » Default (Ia.Ftn.Wa.Models.Ui)

Public general use code classes and xml files that we've compiled and used over the years:

Default support class for Fixed Telecommunications Network (FTN) web application (Intranet) model.

    1:  
    2: namespace Ia.Ftn.Wa.Models.Ui
    3: {
    4:     ////////////////////////////////////////////////////////////////////////////
    5:  
    6:     /// <summary publish="true">
    7:     /// Default support class for Fixed Telecommunications Network (FTN) web application (Intranet) model.
    8:     /// </summary>
    9:     /// 
   10:     /// <remarks> 
   11:     /// Copyright © 2006-2021 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   12:     /// </remarks> 
   13:     public class Default
   14:     {
   15:         ////////////////////////////////////////////////////////////////////////////
   16:  
   17:         /// <summary>
   18:         ///
   19:         /// </summary>
   20:         public static string MailTop()
   21:         {
   22:             return @"
   23: <!doctype html>
   24: <html lang=""en"">
   25: <head>
   26:     <meta charset=""utf-8"">
   27:     <meta name=""viewport"" content=""width=device-width, initial-scale=1"">
   28: <title>" + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:SiteName") + ": " + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:CompanyName") + @"</title>
   29: <link rel=""icon"" type=""image/x-icon"" href=""/image/logo.ico"" />
   30: <style>
   31: html { direction:ltr; }
   32: body { background:#fff;margin:5px;padding:0px;color:DarkBlue; }
   33: body,td,th,a,input.button_ia,input,textarea,option,select,pre { font:9pt normal #000066 ""Tahoma"";font-family:Tahoma;text-decoration:none; }
   34: a:link { color:#0000ff;text-decoration:none; }
   35: a:visited { color:#0000ff;text-decoration:none; }
   36: a:hover { color:#ff8888;text-decoration:none; }
   37: hr { color:rgb(204,204,204); }
   38: p { line-height:18px;margin-top:9px;margin-bottom:9px; }
   39: table.form { }
   40: table.form td { }
   41: </style>
   42: </head>
   43: <body>
   44:  
   45: <p><b>" + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:SiteName") + "</b>: <b>" + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:CompanyName") + @"</b></p>
   46: ";
   47:         }
   48:  
   49:         ////////////////////////////////////////////////////////////////////////////
   50:  
   51:         /// <summary>
   52:         ///
   53:         /// </summary>
   54:         public static string PlainMailTop()
   55:         {
   56:             return Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:SiteName") + ": " + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:CompanyName") + @"
   57: ";
   58:         }
   59:  
   60:         ////////////////////////////////////////////////////////////////////////////
   61:  
   62:         /// <summary>
   63:         ///
   64:         /// </summary>
   65:         public static string MailBottom()
   66:         {
   67:             return @"
   68: </body>
   69: </html>
   70: ";
   71:         }
   72:  
   73:         ////////////////////////////////////////////////////////////////////////////
   74:  
   75:         /// <summary>
   76:         ///
   77:         /// </summary>
   78:         public static string PlainMailBottom()
   79:         {
   80:             return @"";
   81:         }
   82:  
   83:         ////////////////////////////////////////////////////////////////////////////
   84:         ////////////////////////////////////////////////////////////////////////////
   85:     }
   86:  
   87:     ////////////////////////////////////////////////////////////////////////////
   88:     ////////////////////////////////////////////////////////////////////////////   
   89: }