[cc-commits] [CC SVN] r14187 - in cchost/trunk/dig: . pages
webmaster at creativecommons.org
webmaster at creativecommons.org
Fri Feb 26 23:58:07 EST 2010
Author: fourstones
Date: 2010-02-27 04:58:07 +0000 (Sat, 27 Feb 2010)
New Revision: 14187
Added:
cchost/trunk/dig/pages/
cchost/trunk/dig/pages/about.php
cchost/trunk/dig/pages/dig.php
cchost/trunk/dig/pages/featured.php
cchost/trunk/dig/pages/home.php
cchost/trunk/dig/pages/picks.php
cchost/trunk/dig/pages/podcasts.php
cchost/trunk/dig/pages/popular.php
Log:
initial checkin
Added: cchost/trunk/dig/pages/about.php
===================================================================
--- cchost/trunk/dig/pages/about.php (rev 0)
+++ cchost/trunk/dig/pages/about.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,56 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+ $page_title = 'About dig.ccmixter';
+ $about_class = 'class="current"';
+
+ require_once('lib/head.php');
+?>
+ <div id="content">
+ <div class="page full home-heading">
+ <h2>About Us</h2>
+ </div>
+ <div class="page full home-about">
+ <div class="block wider first">
+ <p><strong>dig.ccmixter</strong> is where people come to find fantastic, liberally licensed music. The musicians' community at <a href="http://ccmixter.org">ccMixter</a> make modern, challenging, but satisfying music that they want you to hear! There's a reason why <em>1 out of 6 tracks at dig.ccmixter are already being used by video makers and podcasters</em></p>
+ </div>
+ <div class="block wider">
+ <p><strong>dig.ccmixter</strong> is devoted to helping you find that great music, all of which is liberally licensed under a <a href="http://creativecommons.org">Creative Commons</a> license so you <em>already have permission</em> to use this music in your video, podcast, school project, personal music player, or where ever… We even have several 1,000 tracks that <em>already have permission</em> to use in <strong>commercial projects</strong> for free.</p>
+ </div>
+ </div>
+ <div class="page full badge-container about-badge-container round">
+ <div class="block first">
+ <a href="http://ccmixter.org"><img src="images/ccmixter-h.jpg" alt="Visit ccmixter"></a>
+ </div>
+ <div class="block">
+ <a href="http://tunetrack.net"><img src="images/tunetrack-h.jpg" alt="Visit TuneTrack"></a>
+ </div>
+ <div class="block">
+ <a href="http://artistechmedia.com"><img src="images/artistech-h.jpg" alt="Visit ArtisTech Media"></a>
+ </div>
+ <div class="block">
+ <a href="http://creativecommons.org"><img src="images/cc-h.jpg" alt="Visit Creative Commons"></a>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <? require_once('lib/footer.php'); ?>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
Added: cchost/trunk/dig/pages/dig.php
===================================================================
--- cchost/trunk/dig/pages/dig.php (rev 0)
+++ cchost/trunk/dig/pages/dig.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,187 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+ $page_title = 'dig.ccmixter Dig Results';
+ $dig_class = 'class="current"';
+
+ require_once('lib/head.php');
+
+?>
+<script type="text/javascript" charset="utf-8">
+function execute_url()
+{
+ <?
+
+ if( !empty($_GET) )
+ {
+ $fields = array();
+ $params = array();
+ foreach( $_GET as $K => $V )
+ {
+ if( preg_match('/^(advanced-)?search-/',$K) )
+ {
+ $fields[] = "\$('#{$K}').val('{$V}');";
+ }
+ else
+ {
+ if( !in_array($K,array('page','x','y')) )
+ {
+ $params[] = "parameters.{$K} = '{$V}';";
+ }
+ }
+ }
+ if( empty($params) )
+ $params = '';
+ else
+ $params = join(" \n",$params);
+
+ if( empty($fields) )
+ $fields = '';
+ else
+ $fields = join(" \n",$fields);
+
+ if( !empty($params) || !empty($fields) )
+ {
+ $js =<<<EOF
+ var parameters = {};
+ {$params}
+ //do_param_search(parameters,default_digging_for);
+ update_fields(parameters);
+ {$fields}
+ do_search();
+
+EOF;
+ print $js;
+ }
+ }
+ ?>
+
+}
+</script>
+
+ <div id="content">
+ <div class="page full" id="dig">
+ <!-- <h2>dig</h2> -->
+ <div class="search-utility round">
+ <form action="#">
+ <div class="search-input-container"><input type="text" name="search-query" value="" id="search-query" /></div>
+ <div class="search-select-container">
+ <select name="search-license" id="search-license" size="1">
+ <option value="">All licenses</option>
+ <option value="open">Free for commercial use</option>
+ </select>
+ <select name="search-type" id="search-type" size="1">
+ <option value="">All types</option>
+ <option value="videos">For video use</option>
+ <option value="games">For game use</option>
+ <option value="podcasting">For podcasts</option>
+ <option value="entertainment">Entertain me!</option>
+ </select>
+ </div>
+
+ <div class="search-button-container">
+ <input id="search" type="image" alt="Search" src="images/search-button-bg.png" />
+ </div>
+ </form>
+ <div id="debug"> </div>
+ </div>
+ <div class="advanced-search-utility round" >
+ <form action="#">
+ <div class="advanced-search-row">
+ <input name="advanced-search-query" id="advanced-search-query" class="round" />
+ </div>
+ <div class="advanced-search-row">
+ <label for="advanced-search-results" id="advanced-search-results-label">results</label>
+ <select id="advanced-search-results">
+ <option value="10">10</option>
+ <option value="15">15</option>
+ <option value="25">25</option>
+ <option value="50">50</option>
+ </select>
+ <label for="advanced-search-since" id="advanced-search-since-label">since</label>
+ <select id="advanced-search-since" name="advanced-search-since">
+ <option value="*">Forever</option>
+ <option value="1 days ago">Yesterday</option>
+ <option value="1 weeks ago">1 week ago</option>
+ <option value="2 weeks ago">2 weeks ago</option>
+ <option value="1 months ago">Last month</option>
+ <option value="3 months ago">3 months ago</option>
+ <option value="1 years ago">1 year ago</option>
+ </select>
+ <label for="advanced-search-sortby" id="advanced-search-sortby-label">sort</label>
+ <select name="advanced-search-sortby" id="advanced-search-sortby">
+ <option value="popularity">Popularity</option>
+ <option value="date">Date</option>
+ <option value="track-name">Track name</option>
+ <option value="musician">Musician</option>
+ </select>
+ <select name="advanced-search-sortdir" id="advanced-search-sortdir">
+ <option value="desc">Descending</option>
+ <option value="asc">Ascending</option>
+ </select>
+
+ <label for="advanced-search-license" id="advanced-search-license-label">license</label>
+ <select name="advanced-search-license" id="advanced-search-license" size="1">
+ <option value="">All licenses</option>
+ <option value="open">Free for commercial use</option>
+ </select>
+ <input type="hidden" name="advanced-search-tags" value="" id="advanced-search-tags" />
+ </div>
+ <div id="tagpicker" class="advanced-search-row">
+ <div class="tag-select-container">
+ <label>genre</label>
+ <div id="genre_results" class="tag-select round">getting data…</div>
+ </div>
+ <div class="tag-select-container">
+ <label>instrument</label>
+ <div id="instr_results" class="tag-select round">getting data…</div>
+ </div>
+ <div class="tag-select-container tag-select-container-last">
+ <label>style</label>
+ <div id="mood_results" class="tag-select round">getting data…</div>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="advanced-search-row">
+ <label id="tags-label">tags</label>
+ <div id="tags-container"></div>
+ <div class="clear-button-container"><a href="#" id="clear">Clear</a></div>
+ <div class="clearer"></div>
+ </div>
+ <div class="advanced-search-row advanced-search-row-last">
+ <div class="advanced-search-button-container">
+ <input id="advanced-search" type="image" alt="Search" src="images/advanced-search-button-bg.png" />
+ </div>
+ <div class="clearer"></div>
+ </div>
+ </form>
+ </div>
+ <div class="advanced"><a href="#" class="advanced-search-link">Advanced dig</a><a href="#" class="basic-search-link">Basic dig</a></div>
+ <div id="didumean"></div>
+ <div id="results">
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <?
+ require_once('lib/footer.php');
+ ?>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
Added: cchost/trunk/dig/pages/featured.php
===================================================================
--- cchost/trunk/dig/pages/featured.php (rev 0)
+++ cchost/trunk/dig/pages/featured.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,42 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+ $page_title = 'dig.ccmixter Featured Music';
+ $featured_class = 'class="current"';
+
+ require_once('lib/head.php');
+?>
+ <div id="content">
+ <div class="page full">
+ <h2>Featured</h2>
+ <div id="featured">
+ <!-- <div id="debug"></div> -->
+ <div id="results">
+ <div class="block wider first" id="edpicks"></div>
+ <div class="block wider" id="popchart"></div>
+ <div class="clearer"></div>
+ <div id="podcasts"></div>
+ </div>
+ </div>
+ </div>
+ <? require_once('lib/footer.php'); ?>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
Added: cchost/trunk/dig/pages/home.php
===================================================================
--- cchost/trunk/dig/pages/home.php (rev 0)
+++ cchost/trunk/dig/pages/home.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,95 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+
+ $page_title = 'dig.ccmixter “You already have permission…”';
+ $home_class = 'class="current"';
+
+ require_once('lib/head.php');
+?>
+ <div id="content">
+ <div class="page full home-heading" id="homepage">
+ <div class="block wider first">
+ <h2>ccMixter Music Discovery Site</h2>
+ <h3 class="subheading">“You already have permission…”</h3>
+ </div>
+ <div class="block wider">
+ <form class="dig-entry round" action="/dig" method="get">
+ <img src="images/start-digging.png" alt="Start digging" id="entry-label" />
+ <div class="entry-input-container round"><input type="text" name="search-query" value="" id="q" /></div>
+ <div class="entry-button-container">
+ <input id="entry-search" type="image" alt="dig" src="images/search-button-bg.png" />
+ </div>
+ <div class="clearer"></div>
+ </form>
+ </div>
+ </div>
+
+ <div class="page full home-description">
+ <div class="block widest first">
+ <p><strong>dig.ccmixter</strong> is divided into several sections to get you going:</p>
+ <div class="block first">
+ <h3>Podsafe Music</h3>
+ <p>Great vocalists meet fresh, innovative producers every day on ccMixter. Together
+ they make radio-ready tracks and remixes… <a href="/podcast_music">Search for podsafe music…</a></p>
+ </div>
+ <div class="block">
+ <h3>Instrumental Music for Film, YouTube™ Videos and Soundtracks</h3>
+ <p>Instrumental background or theme music freely available… <a href="/music_for_film_and_video">Search for instrumental music for videos…</a></p>
+ </div>
+ <div class="block">
+ <h3>Music for iPods, Dance Party, Cubicle, Drive-time Enjoyment</h3>
+ <p>Fresh hot playlists, pre-made podcasts, editors' picks are hand curated by staff and DJs, ready for your enjoyment… <a href="/featured">Download or stream our curators' picks…</a></p>
+ </div>
+ <div class="clearer"></div>
+ <div class="block first">
+ <h3>Free Music for Commercial Projects</h3>
+ <p>If you need free music for a commercial project, we can accommodate… <a href="/free_music">Find music that is free for commercial use</a></p>
+ </div>
+ <div class="block wider">
+ <h3>For Musicians</h3>
+ <p>All of the music on dig.ccmixter was created especially for this site. We don't take your back-catalogue
+ or original music you already have on your hard disk (!) We want to know what new things you can do with our
+ 2,000 original a cappellas and 10,000 samples (that are all licensed under Creative Commons). If you're
+ up for a new way of thinking about creative collaboration then come join us at <a href="http://ccmixter.org">ccMixter.org</a>.</p>
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <div class="block badge-container round">
+ <div class="badge">
+ <a href="http://ccmixter.org"><img src="images/ccmixter.jpg" alt="Visit ccmixter"></a>
+ </div>
+ <div class="badge">
+ <a href="http://tunetrack.net"><img src="images/tunetrack.jpg" alt="Visit TuneTrack"></a>
+ </div>
+ <div class="badge">
+ <a href="http://artistechmedia.com"><img src="images/artistech.jpg" alt="Visit ArtisTech Media"></a>
+ </div>
+ <div class="badge">
+ <a href="http://creativecommons.org"><img src="images/cc.jpg" alt="Visit Creative Commons"></a>
+ </div>
+ </div>
+ <div class="clearer"></div>
+
+ </div>
+ <? require_once('lib/footer.php'); ?>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
Added: cchost/trunk/dig/pages/picks.php
===================================================================
--- cchost/trunk/dig/pages/picks.php (rev 0)
+++ cchost/trunk/dig/pages/picks.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,37 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+ $page_title = 'dig.ccmixter Editor\'s Picks';
+ $featured_class = 'class="current"';
+
+ require_once('lib/head.php');
+?>
+
+ <div id="content">
+ <div class="page full" id="pickspage">
+ <h2>Editors' Picks</h2>
+ <div id="results">
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <? require_once('lib/footer.php'); ?>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
Added: cchost/trunk/dig/pages/podcasts.php
===================================================================
--- cchost/trunk/dig/pages/podcasts.php (rev 0)
+++ cchost/trunk/dig/pages/podcasts.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,36 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+ $page_title = 'dig.ccmixter Podcasts';
+ $featured_class = 'class="current"';
+
+ require_once('lib/head.php');
+?>
+
+ <div id="content">
+ <div class="page full" id="podcastspage">
+ <h2>Podcasts</h2>
+ <div id="results">
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <? require_once('lib/footer.php'); ?>
+ </div>
+</body>
+</html>
\ No newline at end of file
Added: cchost/trunk/dig/pages/popular.php
===================================================================
--- cchost/trunk/dig/pages/popular.php (rev 0)
+++ cchost/trunk/dig/pages/popular.php 2010-02-27 04:58:07 UTC (rev 14187)
@@ -0,0 +1,36 @@
+<?
+/*
+* Artistech Media has made the contents of this file
+* available under a CC-GNU-GPL license:
+*
+* http://creativecommons.org/licenses/GPL/2.0/
+*
+* A copy of the full license can be found as part of this
+* distribution in the file LICENSE.TXT.
+*
+* You may use dig.ccMixter software in accordance with the
+* terms of that license. You agree that you are solely
+* responsible for your use of dig.ccMixter software and you
+* represent and warrant to Artistech Media that your use
+* of dig.ccMixter software will comply with the CC-GNU-GPL.
+*
+* $Id$
+*
+*/
+ $page_title = 'dig.ccmixter Popular';
+ $featured_class = 'class="current"';
+
+ require_once('lib/head.php');
+?>
+ <div id="content">
+ <div class="page full" id="popularpage">
+ <h2>Popular</h2>
+ <div id="results">
+ </div>
+ <div class="clearer"></div>
+ </div>
+ <? require_once('lib/footer.php'); ?>
+ </div>
+ </div>
+</body>
+</html>
\ No newline at end of file
More information about the cc-commits
mailing list