Example #1
0
      }
      $stats_display = array_sum($stats_total);
      //print_r($stats);
      echo '
      <hr>
      <h5>Stats:</h5>
      Uploaded by ' . $blog_user_name . '
      <br>
      <span class="fa fa-eye text-icon" style="margin-right:1%;"></span>' . $stats_display . " Views\n        <br>\n        <span class='fa fa-clock-o text-icon' style='margin-right:1%;'></span>" . get_timeagoo(strtotime($stats_visited)) . " since last played<br>";
  } else {
      //echo "0 results";
  }
  //print_r($)
  //echo $player_iframe.'<br>';
  $single_statistics = "\n\n    <div class='panel' style='padding:2%;' >\n    <h3 class='panel-heading' style='text-align:left;'>" . $single_count_format . " Total Plays<h3>\n    <hr>\n    </div>\n";
  echo '<h5>Share:</h5>' . $blog->getShareButtons($blog_id);
  echo '<br><br>';
  $delete_button = "<div id='delete_post_button' ><input name='post_id' type='hidden' value='" . $blog_post_id . "'><input name='blog_type' type='hidden' value='mag'><button type='submit' class='btn btn-danger ' onclick='deleteBlogPost(" . $blog_post_id . ", \"mag\")'><span class='glyphicon glyphicon-trash'></span></button></div>";
  if ($user_name_session == $blog_user_name or $user_name_session == 'admin' or $blog_user_name == 'submission' or $blog_user_name == '') {
      echo $delete_button;
  } else {
      echo "<alert class='alert alert-warning' >Uploaded by " . $blog_user_name . "!</alert>";
  }
  echo '</div>';
  echo "<section class='col-md-1'>\n          <a class='btn-lg' style='padding:2%;' onclick='showEditOptions(" . $blog_post_id . ")'><span class='glyphicon glyphicon-option-vertical'></span></a>\n        </section>";
  echo '
 ';
  // echo "<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?\'http\':\'https\';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+\'://platform.twitter.com/widgets.js\';fjs.parentNode.insertBefore(js,fjs);}}(document, \'script\', \'twitter-wjs\');</script></td>";
  //echo "<td><div id= 'jointheteam'>&#9658; ".$new_counts."</div></td>";
  //echo "<td><div id=\"jointheteam\" href=\"" . $row['trackmp3'] . "\">VOTES: ".$row['requests']."</td>";
  echo "</article>";
Example #2
0

				<section class="content">
					<div class="scroll-wrap">

						<?php 
foreach ($posts as $key => $value) {
    //print_r($value);
    echo '
						<article class="content__item">
							
							<h2 class="title title--full">' . $blog->getTitle($value) . '</h2>
							<span class="category category--full">' . $blog->getTwitter($value) . '</span>
							
							<div class="meta meta--full">
								' . $blog->getShareButtons($value['id']) . '
								<img class="meta__avatar" src="' . $blog->getPhoto($value['photo']) . '" alt="' . $blog->getTitle($value) . '"  style="width:100%;border-radius:0;"/> 
								<center>' . $blog->embedPost($value) . '</center>
								<hr>
								<span class="meta__author">' . $value['user_name'] . '</span>
								<span class="meta__date"><i class="fa fa-calendar-o"></i> ' . $blog->datePosted(strtotime($value['submission_date'])) . '</span>
								<span class="meta__reading-time"><i class="fa fa-clock-o"></i> ' . $value['type'] . '</span>
							</div>
							
							<!--
							<p>I am fully aware of the shortcomings in these essays. I shall not touch upon those which are characteristic of first efforts at investigation. The others, however, demand a word of explanation.</p>
							<p>The four essays which are here collected will be of interest to a wide circle of educated people, but they can only be thoroughly understood and judged by those who are really acquainted with psychoanalysis as such. It is hoped that they may serve as a bond between students of ethnology, philology, folklore and of the allied sciences, and psychoanalysts; they cannot, however, supply both groups the entire requisites for such co-operation. They will not furnish the former with sufficient insight into the new psychological technique, nor will the psychoanalysts acquire through them an adequate command over the material to be elaborated. Both groups will have to content themselves with whatever attention they can stimulate here and there and with the hope that frequent meetings between them will not remain unproductive for science.</p>
							<p>The two principal themes, totem and taboo, which give the name to this small book are not treated alike here. The problem of taboo is presented more exhaustively, and the effort to solve it is approached with perfect confidence. The investigation of totemism may be modestly expressed as: “This is all that psychoanalytic study can contribute at present to the elucidation of the problem of totemism.” This difference in the treatment of the two subjects is due to the fact that taboo still exists in our midst. To be sure, it is negatively conceived and directed to different contents, but according to its psychological nature, it is still nothing else than Kant’s ‘Categorical Imperative’, which tends to act compulsively and rejects all conscious motivations. On the other hand, totemism is a religio-social institution which is alien to our present feelings; it has long been abandoned and replaced by new forms. In the religions, morals, and customs of the civilized races of to-day it has left only slight traces, and even among those races where it is still retained, it has had to undergo great changes. The social and material progress of the history of mankind could obviously change taboo much less than totemism.</p>
							<p>If I judge my readers’ impressions correctly, I dare say that after hearing all that was said about taboo they are far from knowing what to understand by it and where to store it in their minds. This is surely due to the insufficient information I have given and to the omission of all discussions concerning the relation of taboo to superstition, to belief in the soul, and to religion. On the other hand I fear that a more detailed description of what is known about taboo would be still more confusing; I can therefore assure the reader that the state of affairs is really far from clear. We may say, however, that we deal with a series of restrictions which these primitive races impose upon themselves; this and that is forbidden without any apparent reason; nor does it occur to them to question this matter, for they subject themselves to these restrictions as a matter of course and are convinced that any transgression will be punished automatically in the most severe manner. There are reliable reports that innocent transgressions of such prohibitions have actually been punished automatically. For instance, the innocent offender who had eaten from a forbidden animal became deeply depressed, expected his death and then actually died. The prohibitions mostly concern matters which are capable of enjoyment such as freedom of movement and unrestrained intercourse; in some cases they appear very ingenious, evidently representing abstinences and renunciations; in other cases their content is quite incomprehensible, they seem to concern themselves with trifles and give the impression of ceremonials. Something like a theory seems to underlie all these prohibitions, it seems as if these prohibitions are necessary because some persons and objects possess a dangerous power which is transmitted by contact with the object so charged, almost like a contagion. The quantity of this dangerous property is also taken into consideration. Some persons or things have more of it than others and the danger is precisely in accordance with the charge. The most peculiar part of it is that any one who has violated such a prohibition assumes the nature of the forbidden object as if he had absorbed the whole dangerous charge. This power is inherent in all persons who are more or less prominent, such as kings, priests and the newly born, in all exceptional physical states such as menstruation, puberty and birth, in everything sinister like illness and death and in everything connected with these conditions by virtue of contagion or dissemination.</p>
							<p>First of all it must be said that it is useless to question savages as to the real motivation of their prohibitions or as to the genesis of taboo. According to our assumption they must be incapable of telling us anything about it since this motivation is ‘unconscious’ to them. But following the model of the compulsive prohibition we shall construct the history of taboo as follows: Taboos are very ancient prohibitions which at one time were forced upon a generation of primitive people from without, that is, they probably were forcibly impressed upon them by an earlier generation. These prohibitions concerned actions for which there existed a strong desire. The prohibitions maintained themselves from generation to generation, perhaps only as the result of a tradition set up by paternal and social authority. But in later generations they have perhaps already become ‘organized’ as a piece of inherited psychic property. Whether there are such ‘innate ideas’ or whether these have brought about the fixation of the taboo by themselves or by co-operating with education no one could decide in the particular case in question. The persistence of taboo teaches, however, one thing, namely, that the original pleasure to do the forbidden still continues among taboo races. They therefore assume an _ambivalent attitude_ toward their taboo prohibitions; in their unconscious they would like nothing better than to transgress them but they are also afraid to do it; they are afraid just because they would like to transgress, and the fear is stronger than the pleasure. But in every individual of the race the desire for it is unconscious, just as in the neurotic.</p> <p>It seems like an obvious contradiction that persons of such perfection of power should themselves require the greatest care to guard them against threatening dangers, but this is not the only contradiction revealed in the treatment of royal persons on the part of savages. These races consider it necessary to watch over their kings to see that they use their powers in the right way; they are by no means sure of their good intentions or of their conscientiousness. A strain of mistrust is mingled with the motivation of the taboo rules for the king. “The idea that early kingdoms are despotisms”, says Frazer[59], “in which the people exist only for the sovereign, is wholly inapplicable to the monarchies we are considering. On the contrary, the sovereign in them exists only for his subjects: his life is only valuable so long as he discharges the duties of his position by ordering the course of nature for his people’s benefit. So soon as he fails to do so, the care, the devotion, the religious homage which they had hitherto lavished on him cease and are changed into hatred and contempt; he is ignominiously dismissed and may be thankful if he escapes with his life. Worshipped as a god one day, he is killed as a criminal the next. But in this changed behaviour of the people there is nothing capricious or inconsistent. On the contrary, their conduct is quite consistent. If their king is their god he is or should be, also their preserver; and if he will not preserve them he must make room for another who will. So long, however, as he answers their expectations, there is no limit to the care which they take of him, and which they compel him to take of himself. A king of this sort lives hedged in by ceremonious etiquette, a network of prohibitions and observances, of which the intention is not to contribute to his dignity, much less to his comfort, but to restrain him from conduct which, by disturbing the harmony of nature, might involve himself, his people, and the universe in one common catastrophe. Far from adding to his comfort, these observances, by trammelling his every act, annihilate his freedom and often render the very life, which it is their object to preserve, a burden and sorrow to him.”</p>
							<p>Excerpts from <a href="http://www.gutenberg.org/ebooks/41214">Totem and Taboo</a> by Sigmund Freud.</p>
Example #3
0
       }
       if ($submission_date == '0000-00-00 00:00:00') {
           $how_recent = strtotime($row['submission_date']);
       }
       echo '
 <div class="col-md-4 featured_post_wrapper">
   <div class="thumbnail" style="background-image:url(\'' . $photo_url . '\');background-position:center center;background-size:auto 150%;" >
     <div id="background_tint_singles" >
     <a href="' . $blog_story_url . '"><img src="' . $photo_url . '" alt="' . $blog_title . '"></a>
     <div class="caption">
        <a href="' . $blog_story_url . '"><p id="full_track_name">' . $blog_title . '</p></a>
       <a href="' . $artist_profile . '" target="_blank" ><h5 id="full_track_name">' . $twitter . '</h5></a>
       <br>
       <p>
           <label>' . $how_recent . '</label>
           ' . $blog->getShareButtons($id) . '
           <!-- show share buttons -->
         </p>
       <p>
       ';
       include ROOT . 'config/share.php';
       findByID($blog_id);
       echo '
         <!-- <a href="http://freelabel.net/som/index.php?post=1&text=' . $tweet_blog . '" class="btn btn-primary btn-xs" role="button" target="_blank"><span class="glyphicon glyphicon-retweet"></span></a> 
         <a href="https://twitter.com/intent/tweet?screen_name=&text=' . $tweet_blog . '" class="btn btn-primary btn-xs" role="button" target="_blank"><span class="glyphicon glyphicon-star"></span></a>-->
         <a href="' . $blog_story_url . '" class="btn btn-default btn-xs" role="button"><span class="glyphicon glyphicon-fullscreen"></span></a>
       </p>
     </div>
     </div><!-- background_tint -->
   </div>
 </div>';