/
create_card.php
705 lines (555 loc) · 27.6 KB
/
create_card.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
<script type="text/javascript" src="js/jquery.form.min.js"></script>
<script src="js/sweet-alert.js"></script>
<link rel="stylesheet" type="text/css" href="style/sweet-alert.css">
<script type="text/javascript" language="javascript" src="js/jquery.dotdotdot.js"></script>
<link href='http://fonts.googleapis.com/css?family=Pathway+Gothic+pne' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style/newcreatecardstyle.css">
<title>Create Card</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-57633709-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript">
$(document).ready(function() {
var options = {
target: '#output', // target element(s) to be updated with server response
beforeSubmit: beforeSubmit, // pre-submit callback
success: afterSuccess, // post-submit callback
resetForm: true // reset the form after successful submit
};
$("#imageInput").change(function(){
$('#MyUploadForm').ajaxSubmit(options);
// always return false to prevent standard browser submit and page navigation
return false;
});
var optionscv = {
target: '#output1', // target element(s) to be updated with server response
beforeSubmit: beforeSubmitcv, // pre-submit callback
success: afterSuccesscv, // post-submit callback
uploadProgress: OnProgress, //upload progress callback
resetForm: true // reset the form after successful submit
};
$('#FileInput').change(function(){
$('#MyUploadFormcv').ajaxSubmit(optionscv);
// always return false to prevent standard browser submit and page navigation
return false;
});
});
function afterSuccess()
{
$('#submit-btn').show(); //hide submit button
$('#loading-img').hide(); //hide submit button
document.getElementById("submitbutton").disabled = false;
}
//function to check file size before uploading.
function beforeSubmit(){
//check whether browser fully supports all File API
if (window.File && window.FileReader && window.FileList && window.Blob)
{
if( !$('#imageInput').val()) //check empty input filed
{
//$("#output").html("Are you kidding me?");
sweetAlert("Oops...", "Please Choose file first", "error");
//alert("Please Choose file first");
return false
}
var fsize = $('#imageInput')[0].files[0].size; //get file size
var ftype = $('#imageInput')[0].files[0].type; // get file type
//allow only valid image file types
switch(ftype)
{
case 'image/png': case 'image/gif': case 'image/jpeg': case 'image/pjpeg':
break;
default:
//$("#output").html("<b>"+ftype+"</b> Unsupported file type!");
var mes=ftype+" Unsupported file type!"
//alert(mes);
sweetAlert("Oops...", mes, "error");
return false
}
//Allowed file size is less than 4 MB (1048576)
if(fsize>4048576)
{
var mes=bytesToSize(fsize)+" Too big Image file! Please reduce the size of your photo using an image editor."
//alert(mes);
sweetAlert("Oops...", mes, "error");
return false
}
$('#submit-btn').hide(); //hide submit button
$('#loading-img').show(); //hide submit button
$("#output").html("");
document.getElementById("submitbutton").disabled = true;
}
else
{
//Output error to older browsers that do not support HTML5 File API
alert("Please upgrade your browser, because your current browser lacks some new features we need!");
return false;
}
}
function afterSuccesscv()
{
$('#delete-btn').show(); //hide submit button
//$('#loading-img').hide(); //hide submit button
$('#progressbox').hide();
//$('#progressbox').delay( 1000 ).fadeOut(); //hide progress bar
document.getElementById("submitbutton").disabled = false;
if ( $('#formcv').val() == "") {
document.getElementById("cardcv").style.display= 'none';
}
else {
document.getElementById("cardcv").style.display = '';
}
}
//function to check file size before uploading.
function beforeSubmitcv(){
//check whether browser fully supports all File API
if (window.File && window.FileReader && window.FileList && window.Blob)
{
if( !$('#FileInput').val()) //check empty input filed
{
$msg="Please choose a file first!";
sweetAlert("Oops...", $msg, "error");
return false
}
var fsize = $('#FileInput')[0].files[0].size; //get file size
var ftype = $('#FileInput')[0].files[0].type; // get file type
//allow file types
switch(ftype)
{
case 'image/png':
case 'image/gif':
case 'image/jpeg':
case 'image/pjpeg':
case 'text/plain':
case 'text/html':
case 'application/x-zip-compressed':
case 'application/pdf':
case 'application/msword':
case 'application/vnd.ms-excel':
case 'video/mp4':
break;
default:
$msg=ftype+" Unsupported file type!";
sweetAlert("Oops...", $msg, "error");
// $("#output1").html("<b>"+ftype+"</b> Unsupported file type!");
return false
}
//Allowed file size is less than 5 MB (1048576)
if(fsize>5242880)
{
$msg=bytesToSize(fsize) +" File is too big, it should be less than 5 MB.";
sweetAlert("Oops...", $msg, "error");
return false
}
$('#submit-btn').hide(); //hide submit button
//$('#loading-img').show(); //hide submit button
$("#output1").html("");
$('#FileInput').hide();
document.getElementById("submitbutton").disabled = true;
}
else
{
//Output error to older unsupported browsers that doesn't support HTML5 File API
$("#output1").html("Please upgrade your browser, because your current browser lacks some new features we need!");
return false;
}
}
//progress bar function
function OnProgress(event, position, total, percentComplete)
{
//Progress bar
$('#progressbox').show();
$('#progressbar').width(percentComplete + '%') //update progressbar percent complete
$('#statustxt').html(percentComplete + '%'); //update status text
if(percentComplete>50)
{
$('#statustxt').css('color','#000'); //change status text to white after 50%
}
}
//function to format bites bit.ly/19yoIPO
function bytesToSize(bytes) {
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
if (bytes == 0) return '0 Bytes';
var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
return Math.round(bytes / Math.pow(1024, i), 2) + ' ' + sizes[i];
}
</script>
<script type="text/javascript" src="https://platform.linkedin.com/in.js">
api_key: 75d7x1c1fkydj1
scope: r_basicprofile r_emailaddress
onLoad: onLinkedInLoad
authorize: true
</script>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<div style="display:none">
<?php
require("common.php");
if (isset($_GET['event_id'])) {
$event_id = $_GET['event_id'];}
if (isset($_GET['event_name'])) {
$event = $_GET['event_name'];}
$eventurl="index.php"."?event_id=".$event_id;
$createurl="create_card.php"."?event_id=".$event_id;
if(empty($_SESSION['user']))
{
// If they are not, we redirect them to the login page.
/*ob_start();
// clear out the output buffer
while (ob_get_status())
{
ob_end_clean();
}
header("Location: login.php");
// Remember that this die statement is absolutely critical. Without it,
// people can view your members-only content without logging in.
die("Redirecting to login.php"); */
echo "<script>window.location = 'http://www.cardstak.com/login.php'</script>";
}
//if (strpos($_SESSION['location'],'index.php') !== false ){
$backbutton='<input type="button" onclick="goBack()" align="center" value="Cancel" />';
//}
//else{
// $backbutton='';
//}
$_SESSION['location']=$createurl;
if( $_SESSION['user']['linkedinlogin']=="true" ){
$logoutlink='<a href="#" onclick="logout()" style="color:black">Logout</a>';
}
else {
$logoutlink='<a href="logout.php" style="color:black">Logout</a>';
}
$defaultbio='';
$firstname=htmlentities($_SESSION['user']['firstname'], ENT_QUOTES, 'UTF-8');
$lastname=htmlentities($_SESSION['user']['lastname'], ENT_QUOTES, 'UTF-8');
$nmemberid=htmlentities($_SESSION['user']['nmemberid'], ENT_QUOTES, 'UTF-8')?: '';
$lmemberid=htmlentities($_SESSION['user']['lmemberid'], ENT_QUOTES, 'UTF-8')?: '';
$semail=htmlentities($_SESSION['user']['email'], ENT_QUOTES, 'UTF-8')?: '';
$ntitle=substr(htmlentities($_SESSION['user']['title'], ENT_QUOTES, 'UTF-8'),0,35)?: '';
$stitle=substr(htmlentities($_SESSION['user']['title'], ENT_QUOTES, 'UTF-8'),0,35)?: 'Student, UC Berkeley';
$spicurl=htmlentities($_SESSION['user']['picurl'], ENT_QUOTES, 'UTF-8')?: 'http://cardstak.com/uploads/profileimage.png';
if($spicurl=='undefined') $spicurl='http://cardstak.com/uploads/profileimage.png';
$slinkedinurl=htmlentities($_SESSION['user']['linkedinurl'], ENT_QUOTES, 'UTF-8')?: '';
$nbio=htmlentities($_SESSION['user']['bio'], ENT_QUOTES, 'UTF-8') ?: '';
$sbio=htmlentities($_SESSION['user']['bio'], ENT_QUOTES, 'UTF-8') ?: $defaultbio;
$biolength=strlen($sbio);
$sbio=substr($sbio,0,min(350,$biolength));
if ($biolength>350) {$sbio="$sbio...";}
//$nbio=$sbio ?: '';
$nbio=htmlentities($_SESSION['user']['bio'], ENT_QUOTES, 'UTF-8') ? $sbio: '';
if (htmlentities($_SESSION['user']['bio'], ENT_QUOTES, 'UTF-8')=="undefined" ) { $nbio=""; $sbio=$defaultbio;}
$lastlength=strlen($lastname);
$cutlastlenght=min($lastlength,21);
$firstlength=min(strlen($firstname),(21-$lastlength));
$sfullname= substr($firstname,0,$firstlength).' '.substr($lastname,0,$cutlastlenght);
$color1="rgb(52, 152, 219)";
$tcolor1="rgb(149, 211, 255)";
$color2="rgb(56, 174, 160)";
$tcolor2="rgb(142, 232, 221)";
$color3="rgb(149, 165, 166)";
$tcolor3="rgb(228, 228, 228)";
if (isset($_COOKIE['action'])) {
// action already done
} else {
setcookie('action');
// run query
$picurl="my photo.png";
if (basename($_FILES["fileToUpload"]["name"])!=""){
$target_dir = "uploads/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]);
$uploadOk = 1;
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
// Check if image file is a actual image or fake image
if(isset($_POST["submit"])) {
$check = getimagesize($_FILES["fileToUpload"]["tmp_name"]);
if($check !== false) {
//$alertval= "alert(\"File is an image - " . $check["mime"] . ".\")";
//echo '<script language="javascript">';;
//echo $alertval;
//echo '</script>';
$uploadOk = 1;
} else {
$alertval= "alert(\"File is not an image.\")";
echo '<script language="javascript">';;
echo $alertval;
echo '</script>';
$uploadOk = 0;
}
}
// Check if file already exists
if (file_exists($target_file)) {
$alertval= "alert(\"Sorry, file already exists.\")";
echo '<script language="javascript">';;
echo $alertval;
echo '</script>';
$uploadOk = 0;
}
// Check file size
if ($_FILES["fileToUpload"]["size"] > 5000000) {
$alertval= "alert(\"Sorry, your file is too large.\")";
echo '<script language="javascript">';;
echo $alertval;
echo '</script>';
$uploadOk = 0;
}
// Allow certain file formats
if($imageFileType != "jpg" && $imageFileType != "png" && $imageFileType != "jpeg"
&& $imageFileType != "gif" ) {
$alertval= "alert(\"Sorry, only JPG, JPEG, PNG & GIF files are allowed.\")";
echo '<script language="javascript">';;
echo $alertval;
echo '</script>';
$uploadOk = 0;
}
// Check if $uploadOk is set to 0 by an error
if ($uploadOk == 0) {
echo "Sorry, your file was not uploaded.";
// if everything is ok, try to upload file
} else {
if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
$alertval= "alert(\"The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded.\")";
echo '<script language="javascript">';
echo $alertval;
echo '</script>';
} else {
$alertval= "alert(\"Sorry, there was an error uploading your file.\")";
echo '<script language="javascript">';
echo $alertval;
echo '</script>';
}
}}
}
//$event="UC Berkeley Networking Event";
$login="login";
?>
</div>
<div style="display:none" id="eventtag"><?=$event?></div>
<div style="display:none" id="eventid"><?=$event_id?></div>
<div id="top-menu" style="display:none">
<div class="menu-center">
<table style="width:100%;border-collapse: collapse;
border-spacing: 0;font-size: 2.5vw;" cellspacing="0">
<tr style="height:40px">
<td style="width:20%;text-align:center"> <a href="http://www.cardstak.com" style="color:#79a09c">Cardstak</a>
</td>
<td style="width:20%;text-align:center" > <a href="http://www.cardstak.com">Customize Your Card</a>
</td>
<td style="width:20%;text-align:center;"> <a href="<?=$eventurl?>" style="color:#79a09c" id="event"><?=$event?></a>
</td>
</tr>
<tr id="tmenu-bottom" align="right">
<td class="topbutton"> <?=$logoutlink?>
</td>
</tr>
</table>
</div>
</div>
<table style="border-spacing:0px; padding-top:0px;padding-top:4%;display:none;" id="createtable" align="center">
<tr>
<td class="tablestyle">
<div id="wrapper">
<table align="center" style="border-spacing:0px;">
<tr >
<td class="leftround">
<table style="color:#4c4c4c;text-align:right">
<form action="query/processupload.php" method="post" enctype="multipart/form-data" id="MyUploadForm">
<tr>
<td></td>
<td align="center" style="padding-bottom: 5px;padding-top: 8px;">
<div style="font-size: 12pt;color:#A02B4F;font-family: aria,sans-serif;text-align: right;" align="right"> * <span style="color: #4C4C4C;font-size: 10pt;font-style: italic;">indicates required field</span>
</div>
</td>
</tr>
<tr>
<td class="imageupload" style="text-align:right;">
<label for="imageInput">Image</label>
</td>
<td >
<input name="image_file" id="imageInput" type="file" style="width:230px" class="picuploader"/>
<img src="images/ajax-loader.gif" id="loading-img" style="display:none;float:right" alt="Please Wait"/>
</td>
</tr>
</form>
<form>
<tr style="margin-top:5px;margin-bottom:5px">
<td>
<label id="rolelabel"><span style="font-size:12pt;color:#A02B4F;">*</span> Role</label>
</td>
<td>
<form><table align="center" style="border-spacing:0px;display:none;width:100%" id="grouptable">
<tr class="inputstyle">
<td style="max-width: 260px;">
<label id="g1buttonback" style="display:block;"><input type="radio" name="group" value="1" /><span id="g1button" class="radioitem"></span></label>
<label id="g2buttonback" style="display:block;"><input type="radio" name="group" value="2" /><span id="g2button" class="radioitem"></span></label>
<label id="g3buttonback" style="display:block;"><input type="radio" name="group" value="3" /><span id="g3button" class="radioitem"></span></label>
</td>
</tr></table> </form>
<div id="loaderdiv" align="center"><img src="images/loader.gif" id="loadergif" alt="Please Wait"/></div>
</td>
</tr>
<tr>
<td>
<label for="name" ><span style="font-size:12pt;color:#A02B4F;">*</span> Full Name</label>
</td>
<td>
<input id="formname" type="text" class="inputform" value="<?=$sfullname?>" id="name" placeholder="John Smith" maxlength="22" />
</td>
</tr>
<tr>
<td>
<label for="title"><span style="font-size:12pt;color:#A02B4F;">*</span> Title</label>
</td>
<td>
<input id="formtitle" type="text" class="inputform" id="title" placeholder="Student, UC Berkeley" maxlength="35" value="<?=$ntitle?>" />
</td>
</tr>
<tr>
<td>
<label for="bio">About Me<br/><span style="font-size:13px;">(max 350 chars)</span></label>
</td>
<td>
<textarea id="formbio" class="inputform" rows="8" placeholder="A second year Computer Science undergraduate student at UC Berkeley with an interest in Artifical Intelligence and Social Media. Seeking a summer internship." maxlength="350" ><?=$nbio?></textarea>
</td>
</tr>
<tr>
<td>
<label for="formcv">Resume</label>
</td>
<td style="height:33px">
<div id="output1">
<input id="formcv" type="text" style="width:230px;display:none" placeholder="www.dropbox.com/mycv.pdf" />
</div>
<div id="upload-wrapper">
<form action="query/processupload_cv.php" method="post" enctype="multipart/form-data" id="MyUploadFormcv" style="display:inline">
<input name="FileInput" id="FileInput" type="file" style="width:230px"/>
<!--<input type="submit" id="submit-btn" value="Upload" />-->
<input id="delete-btn" value="Delete" onclick="removeCV();"/>
<!--<img src="images/ajax-loader.gif" id="loading-img" style="display:none;" alt="Please Wait"/>-->
</form>
<div id="progressbox" ><div id="progressbar"></div ><div id="statustxt">0%</div></div>
</div>
</td>
</tr>
<tr>
<td>
<label for="linkedinurl">LinkedIn URL</label>
</td>
<td>
<input id="formlinkedin" type="text" class="inputform" placeholder="www.linkedin.com/in/johnsmith/" value="<?=$slinkedinurl?>" />
</td>
</tr>
<tr>
<td>
<label for="emailaddress">Email Address</label>
</td>
<td>
<input id="formemail" type="text" class="inputform" placeholder="johnsmith@gmail.com" value="<?=$semail?>"/>
</td>
</tr>
<tr>
<td>
<label for="phonenumber">Phone Number</label>
</td>
<td>
<input id="formphone" type="text" class="inputform" placeholder="123-456-7890" />
</td>
<input id="formnmemberid" type="text" style="display:none" value="<?=$nmemberid?>"/>
<input id="formlmemberid" type="text" style="display:none" value="<?=$lmemberid?>"/>
</tr>
<tr>
<td>
<label for="phonenumber">Website URL</label>
</td>
<td>
<input id="formweb" type="text" class="inputform" placeholder="http://www.mysite.com" value="<?=$sweb?>"/>
</td>
</tr>
</table>
</form>
<table style="padding-top: 30;">
<tr>
<td style="padding-right: 30px;padding-bottom:20px;padding-left: 30px;" align="center">
<input type="button" id="submitbutton" onclick="myFunction()" align="center" value="Submit Card">
</td>
<td style="padding-bottom:20px;margin-left: 10px;" align="center">
<input type="button" onclick="goBack()" align="center" value="Cancel">
</td>
</tr>
</table>
</td>
<!-- right side of table -->
<td style="width: 300px;height: 520px;vertical-align: top; padding:0px;" class="rightround">
<div style="padding-left:20px; padding-right:20px;padding-top:10px">
<div id="user1" class="block">
<table class="topcard" style="width: 215px;">
<tr>
<td id="output" class="picture" align="center" style="cursor:pointer" onclick="$('#imageInput').trigger('click');">
<div id="photourldb" style="background-image: url('<?=$spicurl?>');" class="circle"></div>
</td>
</tr>
<tr class="cardnameback">
<td style="width: 215px;text-align: left;position:absolute;">
<div class="cardname" style="display: grid;position: relative;width: 100%;height: 35px;padding-top: 5px;padding-left: 10px;color: white;background: rgba(127, 140, 141, 0.68);" id="name"><?=$sfullname?></div>
</td>
</tr>
</table>
<table class="middlecard">
<tr style="width:215px;display:flex">
<td class="bio" style="word-wrap: break-word;"><span class="cardtitle" id="title" style="padding-top: 10px;"><?=$stitle?></span><span id="bio"><?=$sbio?></span>
</td>
</tr>
</table>
<table class="bottomcard">
<tr>
<td style="width:215px;padding-top: 5px;">
<span style="float:left;margin-left:10px">
<img src="images/sayhi.png" title="say hi" alt="image host" height="25" width="25" class="cardicon dont_open" style="margin-right: 3px;" onmouseover="this.src='images/hi_hover.png'" onmouseout="this.src='images/sayhi.png'">
<img id="cardemail" class="dont_open cardicon" src="images/nmail.png" alt="image host" title="send email" height="25" width="25" onmouseover="this.src='images/mail_hover.png'" onmouseout="this.src='images/nmail.png'">
</span>
<span style="float:right;margin-right:10px">
<span class="dont_open" id="cardlinkedin">
<a target="_blank" >
<img src="images/newlinkedinicon.png" alt="image host" height="25" width="25" class="cardicon" onmouseover="this.src='images/newlinkedinicon_hover.png'" onmouseout="this.src='images/newlinkedinicon.png'">
</a></span>
<span class="dont_open" id="cardphone">
<a target="_blank">
<img src="images/newphoneicon.png" alt="image host" height="25" width="25" class="cardicon" onmouseover="this.src='images/newphoneicon_hover.png'" onmouseout="this.src='images/newphoneicon.png'">
</a>
</span>
<span class="dont_open" id="cardweb">
<a target="_blank">
<img src="images/newwebicon.png" alt="image host" height="25" width="25" class="cardicon" onmouseover="this.src='images/newwebicon_hover.png'" onmouseout="this.src='images/newwebicon.png'">
</a>
</span>
<span class="dont_open" id="cardcv">
<a target="_blank">
<img src="images/newcvicon.png" alt="image host" height="25" width="25" class="cardicon" onmouseover="this.src='images/newcvicon_hover.png'" onmouseout="this.src='images/newcvicon.png'"></a>
</span>
</span>
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<script type="text/javascript" src="js/jscript.newcard.js" > </script>
</body>
</html>