<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

  <!--
  Use this section to specify custom application settings. These settings
  are used inside the code on many pages. You can modify them to suit your setup.
  -->
  <appSettings>
    <add key="pagetitle" value="WorkoPlus" />
    <add key="sitelogo" value="logo.gif" />
    <add key="jobseekerfolder" value="jobseeker" />
    <add key="resumefolder" value="../CVs/" />
    <add key="employerfolder" value="employer" />
    <add key="adminfolder" value="admin" />
    <add key="imagefolder" value="images" />
    <add key="jobseekerrolename" value="jobseeker" />
    <add key="employerrolename" value="employer" />
    <add key="adminrolename" value="admin" />
    <add key="NotifyURL" value="http://www.workspecial.com/site/IPNConfirmation.aspx" />
    <add key="ReturnURL" value="http://www.workspecial.com/site/SubscriptionThankyou.aspx" />
    <add key="PayPalAccount" value="babar122@yahoo.com" />
    <!--<add key="PayPalAccount" value="seller_1212478293_biz@yahoo.com" />-->
    <add key="PayPalUrl" value="https://www.paypal.com/cgi-bin/webscr?" />
    <!--<add key="PayPalUrl" value="https://www.sandbox.paypal.com/us/cgi-bin/webscr?" />-->
    <add key="webmasteremail" value="webmaster@workspecial.com" />
    <add key="advertiseemail" value="sales@workspecial.com" />
    <add key="Logos" value="logos/" />
    <add key="MailFromTitle" value="Workspecial.com" />
    <add key="JobSeekerimages" value="Images/" />
    <add key="JobSeekerResumes" value="Resumes/" />
    </appSettings>

  <!--
  These are the connection string used for your application specific data and
  ASP.NET provider (membership, roles etc.)
  You can change them as per your setup.
  -->
  <connectionStrings>
   <!--    
    <add name="connectionstring" connectionString="Data Source=dbsrv\sql2005;Initial Catalog=jsdb.mdf;User ID=sa;Password=subway3328" providerName="System.Data.SqlClient"/>
    <add name="MyProviderConnectionString" connectionString="Data Source=dbsrv\sql2005;Initial Catalog=jsdb.mdf;User ID=sa;Password=subway3328" providerName="System.Data.SqlClient"/>
    <add name="connectionstring" connectionString="Data Source=KHALID\SQLEXPRESS;Initial Catalog=WorkoPlusDB;Trusted_Connection=true;" providerName="System.Data.SqlClient"/>
    <add name="MyProviderConnectionString" connectionString="Data Source=KHALID\SQLEXPRESS;Initial Catalog=WorkoPlusDB;Trusted_Connection=true;" providerName="System.Data.SqlClient"/>
   -->
    <add name="connectionstring" connectionString="Data Source=sonic.worldispnetwork.com;Initial Catalog=SHOAIBK_JOBSITEDB;User ID=SHOAIBK_DBUSR;Password=ask313" providerName="System.Data.SqlClient"/>
    <add name="MyProviderConnectionString" connectionString="Data Source=sonic.worldispnetwork.com;Initial Catalog=SHOAIBK_JOBSITEDB;User ID=SHOAIBK_DBUSR;Password=ask313" providerName="System.Data.SqlClient"/>

  </connectionStrings>

  <location path="changepassword.aspx">
    <system.web>
      <authorization>
        <deny users="?"/>
      </authorization>
    </system.web>
  </location>

  <system.web>
    <!--
    This is the default theme applied to the site. 
    You can build your own themes and change this setting accordingly.
    -->

    <!--<pages theme="YellowShades"></pages>-->

    <compilation debug="true">
      <assemblies>
        <add assembly="System.Data, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
        <add assembly="System.Xml, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
      </assemblies>
    </compilation>

    <customErrors mode="Off" defaultRedirect="customerrorpage.aspx"></customErrors>

    <anonymousIdentification enabled="true"/>

    <authentication mode="Forms">
      <forms loginUrl="login.aspx" name=".ASPXFORMSAUTH">
      </forms>
    </authentication>


    <membership defaultProvider="MyProvider">
      <providers>
        <add connectionStringName="MyProviderConnectionString"
         applicationName="/WorkoPlus"
	       description=""
         requiresUniqueEmail="false"
         enablePasswordRetrieval="false"
         enablePasswordReset="true"
	       requiresQuestionAndAnswer="false"
         minRequiredNonalphanumericCharacters="0"
         passwordFormat="Hashed" name="MyProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      </providers>
    </membership>

    <roleManager enabled="True" defaultProvider="MyProvider" domain="workoplus">
      <providers>
        <add connectionStringName="MyProviderConnectionString"
         applicationName="/WorkoPlus" description="" name="MyProvider"
         type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      </providers>
    </roleManager>

    <profile defaultProvider="MyProvider">
      <providers>
        <add connectionStringName="MyProviderConnectionString" applicationName="/WorkoPlus" description="" name="MyProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
      </providers>
      <properties>
        <add name="UserName" type="System.String"/>
        <add name="Email" type="System.String"/>
        <add name="FirstName" type="System.String" allowAnonymous="true"/>
        <add name="LastName" type="System.String" allowAnonymous="true"/>
        <group name="JobSeeker">
          <add name="ResumeID" type="System.Int32"/>
        </group>
        <group name="Employer">
          <add name="CompanyID" type="System.Int32"/>
        </group>
      </properties>
    </profile>

    <webParts>
      <personalization defaultProvider="WorkoPlusWebPartProvider">
        <providers>
          <add connectionStringName="MyProviderConnectionString"
            name="WorkoPlusWebPartProvider"
            type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider, System.Web, &#xD;&#xA;        Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
                                                                           />
        </providers>
      </personalization>
    </webParts>




  </system.web>

  <location path="employer">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>

  <location path="jobseeker">
    <system.web>
      <authorization>
        <deny users="?" />
      </authorization>
    </system.web>
  </location>

  <system.net>
    <mailSettings>
      <smtp from="webmaster@workspecial.com">
        <network defaultCredentials="true" host="localhost" password=""
          userName="" />
      </smtp>
    </mailSettings>
  </system.net>

</configuration>

