)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
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:     ///
   13:     /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
   14:     /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
   15:     ///
   16:     /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
   17:     /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
   18:     /// 
   19:     /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
   20:     /// 
   21:     /// Copyright notice: This notice may not be removed or altered from any source distribution.
   22:     /// </remarks> 
   23:     public class Default
   24:     {
   25:         ////////////////////////////////////////////////////////////////////////////
   26:  
   27:         /// <summary>
   28:         ///
   29:         /// </summary>
   30:         public static string MailTop()
   31:         {
   32:             return @"
   33: <!doctype html>
   34: <html lang=""en"">
   35: <head>
   36:     <meta charset=""utf-8"">
   37:     <meta name=""viewport"" content=""width=device-width, initial-scale=1"">
   38: <title>" + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:SiteName") + ": " + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:CompanyName") + @"</title>
   39: <link rel=""icon"" type=""image/x-icon"" href=""/image/logo.ico"" />
   40: <style>
   41: html { direction:ltr; }
   42: body { background:#fff;margin:5px;padding:0px;color:DarkBlue; }
   43: body,td,th,a,input.button_ia,input,textarea,option,select,pre { font:9pt normal #000066 ""Tahoma"";font-family:Tahoma;text-decoration:none; }
   44: a:link { color:#0000ff;text-decoration:none; }
   45: a:visited { color:#0000ff;text-decoration:none; }
   46: a:hover { color:#ff8888;text-decoration:none; }
   47: hr { color:rgb(204,204,204); }
   48: p { line-height:18px;margin-top:9px;margin-bottom:9px; }
   49: table.form { }
   50: table.form td { }
   51: </style>
   52: </head>
   53: <body>
   54:  
   55: <p><b>" + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:SiteName") + "</b>: <b>" + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:CompanyName") + @"</b></p>
   56: ";
   57:         }
   58:  
   59:         ////////////////////////////////////////////////////////////////////////////
   60:  
   61:         /// <summary>
   62:         ///
   63:         /// </summary>
   64:         public static string PlainMailTop()
   65:         {
   66:             return Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:SiteName") + ": " + Ia.Cl.Models.ApplicationConfiguration.GetSetting("AppSettings:CompanyName") + @"
   67: ";
   68:         }
   69:  
   70:         ////////////////////////////////////////////////////////////////////////////
   71:  
   72:         /// <summary>
   73:         ///
   74:         /// </summary>
   75:         public static string MailBottom()
   76:         {
   77:             return @"
   78: </body>
   79: </html>
   80: ";
   81:         }
   82:  
   83:         ////////////////////////////////////////////////////////////////////////////
   84:  
   85:         /// <summary>
   86:         ///
   87:         /// </summary>
   88:         public static string PlainMailBottom()
   89:         {
   90:             return @"";
   91:         }
   92:  
   93:         ////////////////////////////////////////////////////////////////////////////
   94:         ////////////////////////////////////////////////////////////////////////////
   95:     }
   96:  
   97:     ////////////////////////////////////////////////////////////////////////////
   98:     ////////////////////////////////////////////////////////////////////////////   
   99: }