From 6406fefb4d5da85ebf7b8e3b11dca2f4bc320313 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Mon, 18 Jan 2016 11:56:07 +0530 Subject: updated on git repo initialy --- .gitignore | 1 + Instructions-for-SciPy-India-2015-Conference.pdf | Bin 0 -> 614499 bytes ...-2015-Installation-Instruction-for-Workshop.pdf | Bin 0 -> 55649 bytes basic.html | 168 +++++++++++++ fossee_laptop_precausions_2015.html | 40 +++ images/Poster_thumbnail.png | Bin 0 -> 42182 bytes images/cfd_openfoam_logo.png | Bin 0 -> 41367 bytes images/cfd_openfoam_poster_thumnail.png | Bin 0 -> 55225 bytes images/favicon.ico | Bin images/iitb_logo_white.png | Bin 0 -> 21809 bytes images/openfoam_email_banner.png | Bin 0 -> 37139 bytes images/scipy_poster_2015.pdf | Bin 842578 -> 462163 bytes images/scipy_poster_2015_thumb.png | Bin 48729 -> 54916 bytes invite.html | 121 +++++++++ scipy_conference_2015_invite.html | 10 +- scipy_conference_2015_invite.php | 10 +- stylesheets/.DS_Store | Bin 0 -> 6148 bytes stylesheets/email.css | 269 +++++++++++++++++++++ stylesheets/email.css.zip | Bin 0 -> 2294 bytes unsubscribe-fossee-laptop-notification.php | 65 +++++ 20 files changed, 674 insertions(+), 10 deletions(-) create mode 100755 Instructions-for-SciPy-India-2015-Conference.pdf create mode 100755 SciPy-India-2015-Installation-Instruction-for-Workshop.pdf create mode 100755 basic.html create mode 100755 fossee_laptop_precausions_2015.html create mode 100755 images/Poster_thumbnail.png create mode 100755 images/cfd_openfoam_logo.png create mode 100755 images/cfd_openfoam_poster_thumnail.png mode change 100644 => 100755 images/favicon.ico create mode 100755 images/iitb_logo_white.png create mode 100755 images/openfoam_email_banner.png create mode 100755 invite.html create mode 100755 stylesheets/.DS_Store create mode 100755 stylesheets/email.css create mode 100755 stylesheets/email.css.zip create mode 100755 unsubscribe-fossee-laptop-notification.php diff --git a/.gitignore b/.gitignore index 0b93d50..da34291 100755 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ index.php install.php update.php xmlrpc.php +connection.inc /includes /misc /modules diff --git a/Instructions-for-SciPy-India-2015-Conference.pdf b/Instructions-for-SciPy-India-2015-Conference.pdf new file mode 100755 index 0000000..79ab5b1 Binary files /dev/null and b/Instructions-for-SciPy-India-2015-Conference.pdf differ diff --git a/SciPy-India-2015-Installation-Instruction-for-Workshop.pdf b/SciPy-India-2015-Installation-Instruction-for-Workshop.pdf new file mode 100755 index 0000000..50a83ce Binary files /dev/null and b/SciPy-India-2015-Installation-Instruction-for-Workshop.pdf differ diff --git a/basic.html b/basic.html new file mode 100755 index 0000000..4213546 --- /dev/null +++ b/basic.html @@ -0,0 +1,168 @@ + + + + + + + +SciPy India 2014 - Invitation + + + + + + + + + + + + + + +
+ +
+ + + + + +
+
+
+ + + + + + + + + +
+ +
+ + + + +
+
View this email in your browser
+

Hi {0} {1},

+

The FOSSEE project based at IIT Bombay invites the faculty and students of your institution to SciPy India 2014.

+

SciPy India is an annual conference on using Python for science and engineering research and education. This is the sixth consecutive SciPy India conference providing an opportunity to learn and use Python in education and research.

+

Python is an interactive, easy to learn, open source, extensible programming language that is well suited for a variety of tasks including scientific computing. It is likely that you will find Python to be an effective (and often superior) substitute for commercial tools used in your institution.

+ +

+ Registration and Call For Papers for the conference is now open.
+ Register Now Submit Paper +

+

For further information about the conference, please visit http://scipy.in/2014. +

We look forward to your participation in SciPy India 2014.

+ + + + + + +
+ + + + + +
+ +
+ + + + + + +
+ We request you to share the poster with your faculty members and students.

+ View Poster +
+ + + +
+
+ + + + + + + + +
+
+ +
+ + + + + + + + + + + diff --git a/fossee_laptop_precausions_2015.html b/fossee_laptop_precausions_2015.html new file mode 100755 index 0000000..1b81350 --- /dev/null +++ b/fossee_laptop_precausions_2015.html @@ -0,0 +1,40 @@ + + + + + Fossee Laptop Precausions + + + +
+
+ +

Laptop Precautions
--------------------------

+Dear Sir / Madam [{0}],

+Greetings from FOSSEE Laptop team.

+Recently, it has been noticed that the users of some of the FOSSEE laptops are encountering USB power issues, which could lead to damage of the USB ports.

+On investigating this issue, we found that:

+
1)
The USB ports on these devices are capable of providing ONLY limited current (mainly designed to serve mouse, keyboards, sdcard readers, pen-drives and other such low-power peripherals ).

+
2)
If the USB port(s) is damaged, it could also result in a non-functioning touchpad as it is internally connected to the USB hub.

+We have relayed these issues to the vendor for a possible fix. We will update you on the same once/if a patch is made available.

+Meanwhile, please follow the below instructions to prevent this issue from occurring:

+
1)
Do not connect high-power demanding devices like phones/power-banks/mp3-players to the USB port. Do not connect phones for even data transfer.

+
2)
Do not connect USB powered hard-drives (external powered USB data hard drives could be fine).

+
3)
Use external power supply to Arduino or similar boards while interfacing higher loads (motors, GSM shields etc).

+
4)
Do not connect USB hubs to chain-load peripherals.

+
5)
Any USB device which demands high power from the USB port should NOT be connected.

+For any technical discussion, please contact us through FOSSEE forums (http://forums.fossee.in/)


+ +
+
Unsubscribe
+
+ + diff --git a/images/Poster_thumbnail.png b/images/Poster_thumbnail.png new file mode 100755 index 0000000..ce10632 Binary files /dev/null and b/images/Poster_thumbnail.png differ diff --git a/images/cfd_openfoam_logo.png b/images/cfd_openfoam_logo.png new file mode 100755 index 0000000..2fb5f0f Binary files /dev/null and b/images/cfd_openfoam_logo.png differ diff --git a/images/cfd_openfoam_poster_thumnail.png b/images/cfd_openfoam_poster_thumnail.png new file mode 100755 index 0000000..553fd75 Binary files /dev/null and b/images/cfd_openfoam_poster_thumnail.png differ diff --git a/images/favicon.ico b/images/favicon.ico old mode 100644 new mode 100755 diff --git a/images/iitb_logo_white.png b/images/iitb_logo_white.png new file mode 100755 index 0000000..8ecda94 Binary files /dev/null and b/images/iitb_logo_white.png differ diff --git a/images/openfoam_email_banner.png b/images/openfoam_email_banner.png new file mode 100755 index 0000000..b91a115 Binary files /dev/null and b/images/openfoam_email_banner.png differ diff --git a/images/scipy_poster_2015.pdf b/images/scipy_poster_2015.pdf index 7120b90..394ac1e 100755 Binary files a/images/scipy_poster_2015.pdf and b/images/scipy_poster_2015.pdf differ diff --git a/images/scipy_poster_2015_thumb.png b/images/scipy_poster_2015_thumb.png index 4270cc0..15cda50 100755 Binary files a/images/scipy_poster_2015_thumb.png and b/images/scipy_poster_2015_thumb.png differ diff --git a/invite.html b/invite.html new file mode 100755 index 0000000..fa2581f --- /dev/null +++ b/invite.html @@ -0,0 +1,121 @@ + + + + + + + +Scilab-Arduino Workshop 2015 - FOSSEE, IIT Bombay + + + + + + + + + + +
+
+ + + + + +
Scilab arduino logo imagefossee logo
+
+
+ + + + + + + +
+
+ + + + +
+

Hi,

+

The FOSSEE project based at IIT Bombay invites you to attend a workshop on Arduino control through Scilab from July 3-4, 2015.

+

Scilab is an open source, user friendly, state of the art, computational engine. Arduino is an open source microcontroller board and an electronic prototyping platform, popular in industry. This workshop is devoted to the control of Arduino board from Scilab. The workshop kit will include an Arduino UNO board, a shield containing sensors and actuators, and necessary documentation. Participants will learn to perform embedded system experiments on the Arduino board using Scilab code and also through the GUI based simulation environment, Xcos.

+

The development environment is compatible with Windows and GNU/Linux based operating systems.

+ +

Registration for the workshop is now open.
+
+Register Now

+ +

For more details about the workshop, please visit:
+http://fossee.in/workshop/Scilab-Arduino/

+ + + + + +
+ + + + +
Poster for information
+ + + + + +
We request you to share the poster with your faculty members and students.
+
+View Poster
+
+
+
+ + + + + +
+
+
+ + + + + + + + + + + diff --git a/scipy_conference_2015_invite.html b/scipy_conference_2015_invite.html index 4686e2e..83fe32e 100755 --- a/scipy_conference_2015_invite.html +++ b/scipy_conference_2015_invite.html @@ -45,8 +45,8 @@
View this email in your browser
-

Hi {0},

-

The FOSSEE project based at IIT Bombay invites the faculty, students and members of your institution/ organization to SciPy India 2015.

+

Dear Sir / Madam [{0}],

+

The FOSSEE project based at IIT Bombay invites the faculty, students and members of your institution / organization to SciPy India 2015.

scipy 2015
SciPy India 2015
@@ -56,7 +56,7 @@
DECEMBER 14, 15 & 16

SciPy India is an annual conference that is currently in its seventh year and provides an opportunity to learn and use Python in education and research.

-

Python is an interactive, easy to learn, open source, extensible programming language that is well suited for a variety of tasks including scientific computing. It is likely that you will find Python to be an effective (and often superior) substitute for commercial tools used in your institution/ organization. To know more about Python, please visit http://www.python.org.

+

Python is an interactive, easy to learn, open source, extensible programming language that is well suited for a variety of tasks including scientific computing. It is likely that you will find Python to be an effective (and often superior) substitute for commercial tools used in your institution / organization. To know more about Python, please visit http://www.python.org.

Registration and Call For Papers for the conference is now open. @@ -69,14 +69,14 @@

We look forward to your participation in SciPy India 2015.

- +
- scipy poster 2015 + scipy poster 2015
diff --git a/scipy_conference_2015_invite.php b/scipy_conference_2015_invite.php index c32f0d9..9f48f6c 100755 --- a/scipy_conference_2015_invite.php +++ b/scipy_conference_2015_invite.php @@ -47,7 +47,7 @@

Hi,

-

The FOSSEE project based at IIT Bombay invites the faculty, students and members of your institution/ organization to SciPy India 2015.

+

The FOSSEE project based at IIT Bombay invites the faculty, students and members of your institution / organization to SciPy India 2015.

scipy 2015
SciPy India 2015
@@ -57,7 +57,7 @@
DECEMBER 14, 15 & 16

SciPy India is an annual conference that is currently in its seventh year and provides an opportunity to learn and use Python in education and research.

-

Python is an interactive, easy to learn, open source, extensible programming language that is well suited for a variety of tasks including scientific computing. It is likely that you will find Python to be an effective (and often superior) substitute for commercial tools used in your institution/ organization. To know more about Python, please visit http://www.python.org.

+

Python is an interactive, easy to learn, open source, extensible programming language that is well suited for a variety of tasks including scientific computing. It is likely that you will find Python to be an effective (and often superior) substitute for commercial tools used in your institution / organization. To know more about Python, please visit http://www.python.org.

Registration and Call For Papers for the conference is now open. @@ -70,14 +70,14 @@

We look forward to your participation in SciPy India 2015.

- +
- scipy poster 2015 + scipy poster 2015
@@ -85,7 +85,7 @@
- We request you to share the event details through this poster with faculty members, students and others who might be interested.

View Poster + We request you to share the event details through this poster with faculty members, students and others who might be interested. You may print the poster (native size - A4) and display on the notice boards.

View Poster
diff --git a/stylesheets/.DS_Store b/stylesheets/.DS_Store new file mode 100755 index 0000000..5008ddf Binary files /dev/null and b/stylesheets/.DS_Store differ diff --git a/stylesheets/email.css b/stylesheets/email.css new file mode 100755 index 0000000..e54d971 --- /dev/null +++ b/stylesheets/email.css @@ -0,0 +1,269 @@ +/* ------------------------------------- + GLOBAL +------------------------------------- */ +* { + margin:0; + padding:0; +} +* { font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif; } + +img { + max-width: 100%; +} +.collapse { + margin:0; + padding:0; +} +body { + -webkit-font-smoothing:antialiased; + -webkit-text-size-adjust:none; + width: 100%!important; + height: 100%; +} + + +/* ------------------------------------- + ELEMENTS +------------------------------------- */ +a { color: #2BA6CB;} + +/*.btn { + + text-decoration:none; + color: #FFF; + background-color: #666; + padding:8px 14px; + font-weight:bold; + margin-right:10px; + text-align:center; + cursor:pointer; + display: inline-block; +}*/ + +.btn { + background: #a82828; + background-image: -webkit-linear-gradient(top, #a82828, #3b3a3a); + background-image: -moz-linear-gradient(top, #a82828, #3b3a3a); + background-image: -ms-linear-gradient(top, #a82828, #3b3a3a); + background-image: -o-linear-gradient(top, #a82828, #3b3a3a); + background-image: linear-gradient(to bottom, #a82828, #3b3a3a); + -webkit-border-radius: 28; + -moz-border-radius: 28; + border-radius: 28px; + font-family: Arial; + color: #ffffff; + font-size: 20px; + padding: 10px 20px 10px 20px; + text-decoration: none; +} + +.btn:hover { + background: #ba1c17; + background-image: -webkit-linear-gradient(top, #ba1c17, #8a6666); + background-image: -moz-linear-gradient(top, #ba1c17, #8a6666); + background-image: -ms-linear-gradient(top, #ba1c17, #8a6666); + background-image: -o-linear-gradient(top, #ba1c17, #8a6666); + background-image: linear-gradient(to bottom, #ba1c17, #8a6666); + text-decoration: none; +} + +p.callout { + padding:15px; + background-color:#ECF8FF; + margin-bottom: 15px; + text-align: center; +} +.callout a { + color: #FFFFFF; +} + +table.social { + background-color: #ebebeb; +} +table.poster { + background: #ECF8FF; +} +.social .soc-btn { + padding: 3px 7px; + font-size:12px; + margin-bottom:10px; + text-decoration:none; + color: #FFF;font-weight:bold; + display:block; + text-align:center; +} +a.fb { background-color: #3B5998!important; } +a.tw { background-color: #1daced!important; } +a.gp { background-color: #DB4A39!important; } +a.ms { background-color: #000!important; } + +.sidebar .soc-btn { + display:block; + width:100%; +} + +/* ------------------------------------- + HEADER +------------------------------------- */ +table.head-wrap { width: 100%;} + +.header.container table td.logo { padding: 15px; } +.header.container table td.label { padding: 15px; padding-left:0px;} + + +/* ------------------------------------- + BODY +------------------------------------- */ +table.body-wrap { width: 100%;} + + +/* ------------------------------------- + FOOTER +------------------------------------- */ +table.footer-wrap { width: 100%; clear:both!important; +} +.footer-wrap .container td.content p { border-top: 1px solid rgb(215,215,215); padding-top:15px;} +.footer-wrap .container td.content p { + font-size:10px; + font-weight: bold; + +} + + +/* ------------------------------------- + TYPOGRAPHY +------------------------------------- */ +h1,h2,h3,h4,h5,h6 { +font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; line-height: 1.1; margin-bottom:15px; color:#000; +} +h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; } + +h1 { font-weight:200; font-size: 44px;} +h2 { font-weight:200; font-size: 37px;} +h3 { font-weight:500; font-size: 27px;} +h4 { font-weight:500; font-size: 23px;} +h5 { font-weight:900; font-size: 17px;} +h6 { font-weight:900; font-size: 14px; text-transform: uppercase; color:#444;} + +.collapse { margin:0!important;} + +p, ul { + margin-bottom: 10px; + font-weight: normal; + font-size:14px; + line-height:1.6; +} +p.lead { font-size:17px; } +p.last { margin-bottom:0px;} + +ul li { + margin-left:5px; + list-style-position: inside; +} + +/* ------------------------------------- + SIDEBAR +------------------------------------- */ +ul.sidebar { + background:#ebebeb; + display:block; + list-style-type: none; +} +ul.sidebar li { display: block; margin:0;} +ul.sidebar li a { + text-decoration:none; + color: #666; + padding:10px 16px; +/* font-weight:bold; */ + margin-right:10px; +/* text-align:center; */ + cursor:pointer; + border-bottom: 1px solid #777777; + border-top: 1px solid #FFFFFF; + display:block; + margin:0; +} +ul.sidebar li a.last { border-bottom-width:0px;} +ul.sidebar li a h1,ul.sidebar li a h2,ul.sidebar li a h3,ul.sidebar li a h4,ul.sidebar li a h5,ul.sidebar li a h6,ul.sidebar li a p { margin-bottom:0!important;} + + + +/* --------------------------------------------------- + RESPONSIVENESS + Nuke it from orbit. It's the only way to be sure. +------------------------------------------------------ */ + +/* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */ +.container { + display:block!important; + max-width:600px!important; + margin:0 auto!important; /* makes it centered */ + clear:both!important; +} + +/* This should also be a block element, so that it will fill 100% of the .container */ +.content { + padding:15px; + max-width:600px; + margin:0 auto; + display:block; +} + +/* Let's make sure tables in the content area are 100% wide */ +.content table { width: 100%; } + + +/* Odds and ends */ +.column { + width: 300px; + float:left; +} +.column tr td { padding: 15px; } +.column-wrap { + padding:0!important; + margin:0 auto; + max-width:600px!important; +} +.column table { width:100%;} +.social .column { + width: 280px; + min-width: 279px; + float:left; +} +.poster .one { + width: 110px; + min-width: 109px; + float:left; +} +.poster .two { + width: 450px; + min-width: 449px; + float:left; +} +.justify { + text-align: justify; +} + +/* Be sure to place a .clear element after each set of columns, just to be safe */ +.clear { display: block; clear: both; } + + +/* ------------------------------------------- + PHONE + For clients that support media queries. + Nothing fancy. +-------------------------------------------- */ +@media only screen and (max-width: 600px) { + + a[class="btn"] { display:block!important; margin-bottom:10px!important; background-image:none!important; margin-right:0!important;} + + div[class="column"] { width: auto!important; float:none!important;} + + table.social div[class="column"] { + width:auto!important; + } + table.poster div[class="column"] { + width:auto!important; + } + +} diff --git a/stylesheets/email.css.zip b/stylesheets/email.css.zip new file mode 100755 index 0000000..a883426 Binary files /dev/null and b/stylesheets/email.css.zip differ diff --git a/unsubscribe-fossee-laptop-notification.php b/unsubscribe-fossee-laptop-notification.php new file mode 100755 index 0000000..879c582 --- /dev/null +++ b/unsubscribe-fossee-laptop-notification.php @@ -0,0 +1,65 @@ +query($sql); + $row = $result->fetch_assoc(); +*/ + $sql = "SELECT email, unsubscribe, email_hash FROM sent_email WHERE email_hash = :email_id_hash "; + $q = $conn->prepare($sql); + $q->execute(array('email_id_hash'=>$email_id_hash)); + + +while($data = $q->fetchAll(PDO::FETCH_ASSOC)) { + foreach($data as $row){ + + + if($data != NULL){ + + if($row['unsubscribe'] == 0 && $row['email_hash'] == $email_id_hash){ + /* $query="UPDATE sent_email SET unsubscribe = 1 WHERE email_hash ='". $email_id_hash."'"; + $result = $conn->query($query);*/ + $sql_up = "UPDATE sent_email SET unsubscribe = 1 WHERE email_hash =:email_id_hash "; + $q_up = $conn->prepare($sql_up); + $q_up->execute(array(':email_id_hash'=>$email_id_hash)); + + + echo '
Thank You for unsubscription'; + echo '

If you are not automatically redirected, click here: Fossee Laptop.'; + } + + elseif($row['unsubscribe'] == 1 && $row['email_hash'] == $email_id_hash){ + echo '
You are already unsubscribed!'; + echo '

If you are not automatically redirected, click here: Fossee Laptop.'; + } + + else{ + echo '
You are not a subscriber!'; + echo '

If you are not automatically redirected, click here: Fossee Laptop.'; + } + + }else{ + + echo "Wrong Link please try again"; + } + } + } +} + +$conn=null; +?> -- cgit