Permalink
Browse files

second

  • Loading branch information...
1 parent db14fbd commit db415edf7605a030bccf261de22b4568c2e5a275 @donwb committed Jul 23, 2011
Showing 391 changed files with 40,112 additions and 0 deletions.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -0,0 +1,4 @@
+*.jpg
+*.suo
+*.sln
+
View
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?><Database Name="ttsuser" Class="ContactsDBDataContext" xmlns="http://schemas.microsoft.com/linqtosql/dbml/2007">
+ <Connection Mode="WebSettings" ConnectionString="Data Source=ttsuser.db.3666420.hostedresource.com;Initial Catalog=ttsuser;Persist Security Info=True;User ID=ttsuser" SettingsObjectName="System.Configuration.ConfigurationManager.ConnectionStrings" SettingsPropertyName="ttsuserConnectionString" Provider="System.Data.SqlClient" />
+ <Table Name="dbo.Contact" Member="Contacts">
+ <Type Name="Contact">
+ <Column Name="ContactID" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
+ <Column Name="Email" Type="System.String" DbType="VarChar(500) NOT NULL" CanBeNull="false" />
+ <Column Name="Name" Type="System.String" DbType="VarChar(500)" CanBeNull="true" />
+ </Type>
+ </Table>
+</Database>
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ordesignerObjectsDiagram dslVersion="1.0.0.0" absoluteBounds="0, 0, 11, 8.5" name="ContactsDB">
+ <DataContextMoniker Name="/ContactsDBDataContext" />
+ <nestedChildShapes>
+ <classShape Id="4bada678-828f-442b-8a33-74a53900aedd" absoluteBounds="4.75, 2.125, 2, 1.3862939453125">
+ <DataClassMoniker Name="/ContactsDBDataContext/Contact" />
+ <nestedChildShapes>
+ <elementListCompartment Id="f92547ee-67d0-42f5-931e-e72eb7a0a18d" absoluteBounds="4.765, 2.585, 1.9700000000000002, 0.8262939453125" name="DataPropertiesCompartment" titleTextColor="Black" itemTextColor="Black" />
+ </nestedChildShapes>
+ </classShape>
+ </nestedChildShapes>
+</ordesignerObjectsDiagram>
Oops, something went wrong.
View
Binary file not shown.
View
@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+public partial class BackSoon : System.Web.UI.Page
+{
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+}
Binary file not shown.
View
Binary file not shown.
View
@@ -0,0 +1,42 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"
+ CodeFile="Default.aspx.cs" Inherits="_Default" %>
+
+<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
+ <!-- welcome message -->
+ <!--
+ Removing image and instead have a form for entering email address
+ -->
+ <div style="padding-top: 20px; text-align: center;">
+
+ <object type="application/x-silverlight-2"
+ data="data:application/x-silverlight,"
+ width="670" height="452">
+ <param name="source" value="ClientBin/EnhancedViewer.xap"/>
+ <param name="background" value="Transparent" />
+ <param name="windowless" value="true" />
+ <param name="InitParams" value="<%="CurrentImage=" + HomeImage %>" />
+ </object>
+ </div>
+
+ <div id="page-header">
+ <h4>What's New</h4>
+ <%--<asp:PlaceHolder ID="newsPlaceholder" runat="server"></asp:PlaceHolder>--%>
+ <div id="show-item">
+ <div style="text-align: left;">
+ <div style="font-size:9pt">
+ <p style="padding-bottom:10px">
+ We are between show seasons which mean its summertime. This is typically time for traveling to see friends and family. It’s also time to photograph new places to add to my portfolio for upcoming events. This off-season has taken us to New Mexico and Colorado, up next is Florida and maybe up north.
+ </p>
+ <p style="padding-bottom:10px">
+ There’s still work being done in the studio outside of shooting new images… Still replenishing stock at the artist co-op and gallery, as well as filling online orders. You will see our new booth at the fall shows and I’m toying with new ways to present the photographs. Hope you and your loved ones are having a great summer.
+ </p>
+ Traci
+ </div>
+ <p />
+ </div>
+ </div>
+
+ </div>
+
+ <!-- end: news & events -->
+</asp:Content>
View
@@ -0,0 +1,96 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Xml.Linq;
+
+public partial class _Default : System.Web.UI.Page
+{
+ private string _homeImage;
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // Get the homepage image
+ SetHomeImage();
+
+ //GetNewsItems();
+
+
+ }
+
+ private void SetHomeImage()
+ {
+ string filename = Server.MapPath("sitedata.xml");
+ XElement xml = XElement.Load(filename);
+
+ var q =
+ from x in xml.Elements("homeImages").Elements("image")
+ select new
+ {
+ Image = x.Value
+ };
+
+ string image = null;
+ foreach (var item in q)
+ {
+ image = item.Image;
+ }
+
+ HomeImage = image;
+ //homeImage.ImageUrl = image;
+ }
+
+ private void GetNewsItems()
+ {
+ //Now get the first couple news items
+ string filename = Server.MapPath("news.xml");
+ XElement xml = XElement.Load(filename);
+
+
+ var newsItems =
+ from x in xml.Elements("items").Elements("newsItem")
+ select new
+ {
+ Headline = x.Element("headline").Value,
+ Date = x.Element("date").Value,
+ Detail = x.Element("detail").Value
+ };
+
+ int count = 0;
+ foreach (var item in newsItems)
+ {
+ if(count == 2) break;
+ Control uc = LoadControl("~/NewsUserControl.ascx");
+
+ Control c = uc.FindControl("NewsDate");
+ ((Label)c).Text = item.Date;
+
+ Control c2 = uc.FindControl("Headline");
+ ((Label)c2).Text = item.Headline;
+
+ Control c3 = uc.FindControl("Detail");
+ ((Label)c3).Text = item.Detail;
+
+
+ //snewsPlaceholder.Controls.Add(uc);
+ count++;
+ }
+}
+
+ public string HomeImage
+ {
+ set
+ {
+ _homeImage = value;
+
+ }
+ get
+ {
+ return string.Format("http://{0}:{1}{2}", Request.Url.Host, Request.Url.Port, Page.ResolveUrl("~/" + _homeImage));
+ }
+
+ }
+
+}
View
@@ -0,0 +1,14 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="BackSoon.aspx.cs" Inherits="BackSoon" %>
+
+<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
+
+<div id="page-header">
+<h4>
+We'll be back on February 15th with an updated website.
+</h4>
+<p />
+<div style="font-size:11pt">
+<a href="mailto:traci@tracibrowning.com" style="font-size:11pt">Click here</a> if you wish to be notifed when the site returns.
+</div>
+</div></asp:Content>
+
Oops, something went wrong.

0 comments on commit db415ed

Please sign in to comment.